mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 10:42:22 +00:00
ffmpegenc: Return all supported caps instead of only the first
This commit is contained in:
parent
d181dbd7a0
commit
0111edbf5d
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ gst_ffmpegenc_getcaps (GstPad * pad)
|
||||||
if (!caps)
|
if (!caps)
|
||||||
caps = gst_caps_new_empty ();
|
caps = gst_caps_new_empty ();
|
||||||
gst_caps_append (caps, tmpcaps);
|
gst_caps_append (caps, tmpcaps);
|
||||||
break;
|
continue;
|
||||||
}
|
}
|
||||||
GST_DEBUG_OBJECT (ffmpegenc,
|
GST_DEBUG_OBJECT (ffmpegenc,
|
||||||
"Couldn't figure out caps without context, trying again with a context");
|
"Couldn't figure out caps without context, trying again with a context");
|
||||||
|
|
Loading…
Reference in a new issue