[FFmpeg-soc] [soc]: r4139 - libavfilter/diffs/01_ffplay_filters.diff
stefano
subversion at mplayerhq.hu
Tue Feb 24 01:17:18 CET 2009
Author: stefano
Date: Tue Feb 24 01:17:18 2009
New Revision: 4139
Log:
Set in the filter graph the scale_sws_opts (currently hardcoded).
Modified:
libavfilter/diffs/01_ffplay_filters.diff
Modified: libavfilter/diffs/01_ffplay_filters.diff
==============================================================================
--- libavfilter/diffs/01_ffplay_filters.diff Tue Feb 24 01:14:39 2009 (r4138)
+++ libavfilter/diffs/01_ffplay_filters.diff Tue Feb 24 01:17:18 2009 (r4139)
@@ -211,7 +211,7 @@ Index: ffplay.c
/* update the bitmap content */
SDL_UnlockYUVOverlay(vp->bmp);
-@@ -1346,54 +1417,266 @@
+@@ -1346,54 +1417,267 @@
return queue_picture(is, src_frame, pts);
}
@@ -404,6 +404,7 @@ Index: ffplay.c
+#if CONFIG_AVFILTER
+ AVFilterContext *filt_src = NULL, *filt_out = NULL;
+ AVFilterGraph *graph = av_mallocz(sizeof(AVFilterGraph));
++ graph->scale_sws_opts = av_strdup("sws_flags=bilinear");
+
+ avfilter_register_all();
+
@@ -509,7 +510,7 @@ Index: ffplay.c
av_free(frame);
return 0;
}
-@@ -2189,6 +2472,12 @@
+@@ -2189,6 +2473,12 @@
/* free all pictures */
for(i=0;i<VIDEO_PICTURE_QUEUE_SIZE; i++) {
vp = &is->pictq[i];
@@ -522,7 +523,7 @@ Index: ffplay.c
if (vp->bmp) {
SDL_FreeYUVOverlay(vp->bmp);
vp->bmp = NULL;
-@@ -2527,6 +2816,9 @@
+@@ -2527,6 +2817,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 +533,7 @@ Index: ffplay.c
{ "default", OPT_FUNC2 | HAS_ARG | OPT_AUDIO | OPT_VIDEO | OPT_EXPERT, {(void*)opt_default}, "generic catch all option", "" },
{ NULL, },
};
-@@ -2575,7 +2867,9 @@
+@@ -2575,7 +2868,9 @@
avctx_opts[i]= avcodec_alloc_context2(i);
}
avformat_opts = avformat_alloc_context();
More information about the FFmpeg-soc
mailing list