diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-08-09 09:47:26 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-08-09 09:47:26 +0200 |
commit | 0111edbf5de64ffbe854e19b36f9cebe6e61682f (patch) | |
tree | cacef31e1db4fdefc1e20d76dee0100719e2db12 | |
parent | d181dbd7a0e2fa1613c4312a7e9a6320c6a3933c (diff) |
ffmpegenc: Return all supported caps instead of only the first
-rw-r--r-- | ext/ffmpeg/gstffmpegenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |