[FFmpeg-soc] [soc]: r4238 - in libavfilter: checkout.sh diffs/01_ffplay_filters.diff diffs/02_ffmpeg_filters.diff

stefano subversion at mplayerhq.hu
Sat Apr 25 10:14:20 CEST 2009


Author: stefano
Date: Sat Apr 25 10:14:20 2009
New Revision: 4238

Log:
Update to FFmpeg r18682.

Modified:
   libavfilter/checkout.sh
   libavfilter/diffs/01_ffplay_filters.diff
   libavfilter/diffs/02_ffmpeg_filters.diff

Modified: libavfilter/checkout.sh
==============================================================================
--- libavfilter/checkout.sh	Fri Apr 24 22:06:28 2009	(r4237)
+++ libavfilter/checkout.sh	Sat Apr 25 10:14:20 2009	(r4238)
@@ -1,7 +1,7 @@
 #! /bin/sh
 
 echo "checking out pristine ffmpeg"
-svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk/ ffmpeg -r18497
+svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk/ ffmpeg -r18682
 
 echo "patching ffmpeg"
 for diff in $(ls $(pwd)/diffs/*.diff); do patch -d ffmpeg -p0 -i $diff; done

Modified: libavfilter/diffs/01_ffplay_filters.diff
==============================================================================
--- libavfilter/diffs/01_ffplay_filters.diff	Fri Apr 24 22:06:28 2009	(r4237)
+++ libavfilter/diffs/01_ffplay_filters.diff	Sat Apr 25 10:14:20 2009	(r4238)
@@ -1,6 +1,6 @@
 Index: ffplay.c
 ===================================================================
---- ffplay.c	(revision 18497)
+--- ffplay.c	(revision 18682)
 +++ ffplay.c	(working copy)
 @@ -29,6 +29,12 @@
  #include "libavcodec/audioconvert.h"
@@ -509,7 +509,7 @@ Index: ffplay.c
      av_free(frame);
      return 0;
  }
-@@ -2173,6 +2456,12 @@
+@@ -2178,6 +2461,12 @@
      /* free all pictures */
      for(i=0;i<VIDEO_PICTURE_QUEUE_SIZE; i++) {
          vp = &is->pictq[i];
@@ -522,7 +522,7 @@ Index: ffplay.c
          if (vp->bmp) {
              SDL_FreeYUVOverlay(vp->bmp);
              vp->bmp = NULL;
-@@ -2511,6 +2800,9 @@
+@@ -2516,6 +2805,9 @@
      { "ec", OPT_INT | HAS_ARG | OPT_EXPERT, {(void*)&error_concealment}, "set error concealment options",  "bit_mask" },
      { "sync", HAS_ARG | OPT_FUNC2 | OPT_EXPERT, {(void*)opt_sync}, "set audio-video sync. type (type=audio/video/ext)", "type" },
      { "threads", HAS_ARG | OPT_FUNC2 | OPT_EXPERT, {(void*)opt_thread_count}, "thread count", "count" },
@@ -532,7 +532,7 @@ Index: ffplay.c
      { "default", OPT_FUNC2 | HAS_ARG | OPT_AUDIO | OPT_VIDEO | OPT_EXPERT, {(void*)opt_default}, "generic catch all option", "" },
      { NULL, },
  };
-@@ -2559,7 +2851,9 @@
+@@ -2564,7 +2856,9 @@
          avcodec_opts[i]= avcodec_alloc_context2(i);
      }
      avformat_opts = avformat_alloc_context();

Modified: libavfilter/diffs/02_ffmpeg_filters.diff
==============================================================================
--- libavfilter/diffs/02_ffmpeg_filters.diff	Fri Apr 24 22:06:28 2009	(r4237)
+++ libavfilter/diffs/02_ffmpeg_filters.diff	Sat Apr 25 10:14:20 2009	(r4238)
@@ -1,6 +1,6 @@
 Index: ffmpeg.c
 ===================================================================
---- ffmpeg.c	(revision 18497)
+--- ffmpeg.c	(revision 18682)
 +++ ffmpeg.c	(working copy)
 @@ -40,6 +40,13 @@
  #include "libavutil/avstring.h"
@@ -257,7 +257,7 @@ Index: ffmpeg.c
  
      if (ost->video_pad) {
          av_picture_pad((AVPicture*)final_picture, (AVPicture *)padding_src,
-@@ -1194,6 +1394,10 @@
+@@ -1193,6 +1393,10 @@
      static unsigned int samples_size= 0;
      AVSubtitle subtitle, *subtitle_to_free;
      int got_subtitle;
@@ -268,7 +268,7 @@ Index: ffmpeg.c
      AVPacket avpkt;
  
      if(ist->next_pts == AV_NOPTS_VALUE)
-@@ -1314,6 +1518,15 @@
+@@ -1313,6 +1517,15 @@
                                      &buffer_to_free);
          }
  
@@ -284,7 +284,7 @@ Index: ffmpeg.c
          // preprocess audio (volume)
          if (ist->st->codec->codec_type == CODEC_TYPE_AUDIO) {
              if (audio_volume != 256) {
-@@ -1335,10 +1548,18 @@
+@@ -1334,10 +1547,18 @@
              if (pts > now)
                  usleep(pts - now);
          }
@@ -304,7 +304,7 @@ Index: ffmpeg.c
              for(i=0;i<nb_ostreams;i++) {
                  int frame_size;
  
-@@ -1361,6 +1582,9 @@
+@@ -1360,6 +1581,9 @@
                              do_audio_out(os, ost, ist, data_buf, data_size);
                              break;
                          case CODEC_TYPE_VIDEO:
@@ -314,7 +314,7 @@ Index: ffmpeg.c
                              do_video_out(os, ost, ist, &picture, &frame_size);
                              if (vstats_filename && frame_size)
                                  do_video_stats(os, ost, frame_size);
-@@ -1421,7 +1645,17 @@
+@@ -1420,7 +1644,17 @@
                          av_free_packet(&opkt);
                      }
                  }
@@ -332,7 +332,7 @@ Index: ffmpeg.c
          av_free(buffer_to_free);
          /* XXX: allocate the subtitles in the codec ? */
          if (subtitle_to_free) {
-@@ -1854,10 +2088,21 @@
+@@ -1857,11 +2091,22 @@
                          fprintf(stderr, "Cannot get resampling context\n");
                          av_exit(1);
                      }
@@ -341,6 +341,7 @@ Index: ffmpeg.c
 +#else
                      ost->resample_height = icodec->height - (frame_topBand + frame_bottomBand);
 +#endif
+                     codec->bits_per_raw_sample= 0;
                  }
                  ost->encoding_needed = 1;
                  ist->decoding_needed = 1;
@@ -354,7 +355,7 @@ Index: ffmpeg.c
                  break;
              case CODEC_TYPE_SUBTITLE:
                  ost->encoding_needed = 1;
-@@ -3874,6 +4119,9 @@
+@@ -3879,6 +4124,9 @@
      { "psnr", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, {(void*)&do_psnr}, "calculate PSNR of compressed frames" },
      { "vstats", OPT_EXPERT | OPT_VIDEO, {(void*)&opt_vstats}, "dump video coding statistics to file" },
      { "vstats_file", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_vstats_file}, "dump video coding statistics to file", "file" },


More information about the FFmpeg-soc mailing list