ffmpegenc: Return all supported caps instead of only the first

This commit is contained in:
Sebastian Dröge 2009-08-09 09:47:26 +02:00
parent d181dbd7a0
commit 0111edbf5d

View file

@ -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");