[FFmpeg-soc] [soc]: r3754 - libavfilter/diffs/04_ffmpeg_filters.diff
stefano
subversion at mplayerhq.hu
Thu Oct 2 20:40:44 CEST 2008
Author: stefano
Date: Thu Oct 2 20:40:44 2008
New Revision: 3754
Log:
Update ffmpeg diff to ffmpeg r15000 (just update offsets).
Modified:
libavfilter/diffs/04_ffmpeg_filters.diff
Modified: libavfilter/diffs/04_ffmpeg_filters.diff
==============================================================================
--- libavfilter/diffs/04_ffmpeg_filters.diff (original)
+++ libavfilter/diffs/04_ffmpeg_filters.diff Thu Oct 2 20:40:44 2008
@@ -1,8 +1,8 @@
Index: ffmpeg.c
===================================================================
---- ffmpeg.c (revision 13595)
+--- ffmpeg.c (revision 15000)
+++ ffmpeg.c (working copy)
-@@ -36,6 +36,12 @@
+@@ -41,6 +41,12 @@
#include "libavutil/avstring.h"
#include "libavformat/os_support.h"
@@ -15,7 +15,7 @@ Index: ffmpeg.c
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/types.h>
#include <sys/resource.h>
-@@ -136,6 +142,9 @@
+@@ -140,6 +146,9 @@
static int loop_input = 0;
static int loop_output = AVFMT_NOOUTPUTLOOP;
static int qp_hist = 0;
@@ -25,7 +25,7 @@ Index: ffmpeg.c
static int intra_only = 0;
static int audio_sample_rate = 44100;
-@@ -274,6 +283,13 @@
+@@ -280,6 +289,13 @@
is not defined */
int64_t pts; /* current pts */
int is_start; /* is 1 at the start and after a discontinuity */
@@ -39,7 +39,7 @@ Index: ffmpeg.c
} AVInputStream;
typedef struct AVInputFile {
-@@ -289,6 +305,266 @@
+@@ -295,6 +311,266 @@
static struct termios oldtty;
#endif
@@ -306,7 +306,7 @@ Index: ffmpeg.c
static void term_exit(void)
{
#ifdef HAVE_TERMIOS_H
-@@ -808,6 +1084,9 @@
+@@ -872,6 +1148,9 @@
if (nb_frames <= 0)
return;
@@ -316,7 +316,7 @@ Index: ffmpeg.c
if (ost->video_crop) {
if (av_picture_crop((AVPicture *)&picture_crop_temp, (AVPicture *)in_picture, dec->pix_fmt, ost->topBand, ost->leftBand) < 0) {
av_log(NULL, AV_LOG_ERROR, "error cropping picture\n");
-@@ -817,6 +1096,7 @@
+@@ -881,6 +1160,7 @@
} else {
formatted_picture = in_picture;
}
@@ -324,7 +324,7 @@ Index: ffmpeg.c
final_picture = formatted_picture;
padding_src = formatted_picture;
-@@ -832,12 +1112,14 @@
+@@ -896,12 +1176,14 @@
}
}
@@ -339,7 +339,7 @@ Index: ffmpeg.c
if (ost->video_pad) {
av_picture_pad((AVPicture*)final_picture, (AVPicture *)padding_src,
-@@ -1107,6 +1389,7 @@
+@@ -1172,6 +1454,7 @@
static short *samples= NULL;
AVSubtitle subtitle, *subtitle_to_free;
int got_subtitle;
@@ -347,7 +347,7 @@ Index: ffmpeg.c
if(ist->next_pts == AV_NOPTS_VALUE)
ist->next_pts= ist->pts;
-@@ -1219,6 +1502,17 @@
+@@ -1289,6 +1572,17 @@
&buffer_to_free);
}
@@ -365,7 +365,7 @@ Index: ffmpeg.c
// preprocess audio (volume)
if (ist->st->codec->codec_type == CODEC_TYPE_AUDIO) {
if (audio_volume != 256) {
-@@ -1256,9 +1550,16 @@
+@@ -1326,9 +1620,16 @@
}
}
#endif
@@ -382,7 +382,7 @@ Index: ffmpeg.c
for(i=0;i<nb_ostreams;i++) {
int frame_size;
-@@ -1281,6 +1582,9 @@
+@@ -1351,6 +1652,9 @@
do_audio_out(os, ost, ist, data_buf, data_size);
break;
case CODEC_TYPE_VIDEO:
@@ -390,9 +390,9 @@ Index: ffmpeg.c
+ ost->st->codec->sample_aspect_ratio = ist->picref->pixel_aspect;
+#endif
do_video_out(os, ost, ist, &picture, &frame_size);
- video_size += frame_size;
if (vstats_filename && frame_size)
-@@ -1339,7 +1643,15 @@
+ do_video_stats(os, ost, frame_size);
+@@ -1408,7 +1712,15 @@
av_free_packet(&opkt);
}
}
@@ -408,7 +408,7 @@ Index: ffmpeg.c
av_free(buffer_to_free);
/* XXX: allocate the subtitles in the codec ? */
if (subtitle_to_free) {
-@@ -1748,10 +2060,21 @@
+@@ -1826,10 +2138,21 @@
fprintf(stderr, "Cannot get resampling context\n");
av_exit(1);
}
@@ -430,7 +430,7 @@ Index: ffmpeg.c
break;
case CODEC_TYPE_SUBTITLE:
ost->encoding_needed = 1;
-@@ -3718,6 +4041,9 @@
+@@ -3846,6 +4169,9 @@
#ifdef CONFIG_VHOOK
{ "vhook", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)add_frame_hooker}, "insert video processing module", "module" },
#endif
More information about the FFmpeg-soc
mailing list