mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +00:00
mfc: Some minor fixes
This commit is contained in:
parent
2cf73892e1
commit
37603c7dbd
1 changed files with 4 additions and 6 deletions
|
@ -49,7 +49,6 @@ GST_STATIC_PAD_TEMPLATE ("sink",
|
|||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("video/x-h264, "
|
||||
"profile = (string) {constrained-baseline, baseline, main, high}, "
|
||||
"level = (string) {1, 1b, 1.1, 1.2, 1.3, 2, 2.1, 2.2, 3, 3.1, 3.2, 4}, "
|
||||
"width = (int) [32, 1920], "
|
||||
"height = (int) [32, 1080], "
|
||||
"parsed = (boolean) true, "
|
||||
|
@ -58,7 +57,6 @@ GST_STATIC_PAD_TEMPLATE ("sink",
|
|||
"video/mpeg, "
|
||||
"mpegversion = (int) 4, "
|
||||
"profile = (string) {simple, advanced-simple}, "
|
||||
"level = (string) {0, 0b, 1, 2, 3, 4, 4a, 5}, "
|
||||
"width = (int) [32, 1920], "
|
||||
"height = (int) [32, 1080], "
|
||||
"systemstream = (boolean) false")
|
||||
|
@ -571,10 +569,10 @@ gst_mfc_dec_dequeue_output (GstMFCDec * self)
|
|||
GST_LOG_OBJECT (self,
|
||||
"Dropping too late frame: deadline %" G_GINT64_FORMAT, deadline);
|
||||
ret = gst_video_decoder_drop_frame (GST_VIDEO_DECODER (self), frame);
|
||||
frame = NULL;
|
||||
goto done;
|
||||
}
|
||||
|
||||
if (!frame->output_buffer)
|
||||
ret =
|
||||
gst_video_decoder_allocate_output_frame (GST_VIDEO_DECODER (self),
|
||||
frame);
|
||||
|
|
Loading…
Reference in a new issue