From 0111edbf5de64ffbe854e19b36f9cebe6e61682f Mon Sep 17 00:00:00 2001 From: Sebastian Dröge Date: Sun, 9 Aug 2009 09:47:26 +0200 Subject: ffmpegenc: Return all supported caps instead of only the first --- ext/ffmpeg/gstffmpegenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/ffmpeg/gstffmpegenc.c b/ext/ffmpeg/gstffmpegenc.c index db1f5d8..1ea66b6 100644 --- a/ext/ffmpeg/gstffmpegenc.c +++ b/ext/ffmpeg/gstffmpegenc.c @@ -347,7 +347,7 @@ gst_ffmpegenc_getcaps (GstPad * pad) if (!caps) caps = gst_caps_new_empty (); gst_caps_append (caps, tmpcaps); - break; + continue; } GST_DEBUG_OBJECT (ffmpegenc, "Couldn't figure out caps without context, trying again with a context"); -- cgit v1.2.3