[FFmpeg-cvslog] r24775 - trunk/libavfilter/avfilter.c
stefano
subversion
Wed Aug 11 17:38:50 CEST 2010
Author: stefano
Date: Wed Aug 11 17:38:50 2010
New Revision: 24775
Log:
Set type on buffer in get_video_buffer().
Patch by S.N. Hemanth Meenakshisundaram reverse("skaneems") + "@ucsd.edu".
Modified:
trunk/libavfilter/avfilter.c
Modified: trunk/libavfilter/avfilter.c
==============================================================================
--- trunk/libavfilter/avfilter.c Wed Aug 11 17:29:40 2010 (r24774)
+++ trunk/libavfilter/avfilter.c Wed Aug 11 17:38:50 2010 (r24775)
@@ -211,6 +211,9 @@ AVFilterBufferRef *avfilter_get_video_bu
if(!ret)
ret = avfilter_default_get_video_buffer(link, perms, w, h);
+ if (ret)
+ ret->type = AVMEDIA_TYPE_VIDEO;
+
FF_DPRINTF_START(NULL, get_video_buffer); ff_dprintf_link(NULL, link, 0); dprintf(NULL, " returning "); ff_dprintf_picref(NULL, ret, 1);
return ret;
More information about the ffmpeg-cvslog
mailing list