mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:46:13 +00:00
omxvideodec: Use "video/x-raw-yuv" as src template caps instead of strict I420 caps
This commit is contained in:
parent
8e422b7cc2
commit
7a09447406
5 changed files with 4 additions and 4 deletions
|
@ -82,7 +82,6 @@ gst_omx_h263_dec_class_init (GstOMXH263DecClass * klass)
|
||||||
|
|
||||||
videodec_class->default_sink_template_caps = "video/x-h263, "
|
videodec_class->default_sink_template_caps = "video/x-h263, "
|
||||||
"parsed=(boolean) true";
|
"parsed=(boolean) true";
|
||||||
videodec_class->default_src_template_caps = GST_VIDEO_CAPS_YUV ("I420");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -83,7 +83,6 @@ gst_omx_h264_dec_class_init (GstOMXH264DecClass * klass)
|
||||||
videodec_class->default_sink_template_caps = "video/x-h264, "
|
videodec_class->default_sink_template_caps = "video/x-h264, "
|
||||||
"parsed=(boolean) true, "
|
"parsed=(boolean) true, "
|
||||||
"alignment=(string)au, " "stream-format=(string) avc";
|
"alignment=(string)au, " "stream-format=(string) avc";
|
||||||
videodec_class->default_src_template_caps = GST_VIDEO_CAPS_YUV ("I420");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -86,7 +86,6 @@ gst_omx_mpeg4_video_dec_class_init (GstOMXMPEG4VideoDecClass * klass)
|
||||||
"systemstream=(boolean) false, "
|
"systemstream=(boolean) false, "
|
||||||
"parsed=(boolean) true, "
|
"parsed=(boolean) true, "
|
||||||
"width=(int) [ 16, 4096 ], " "height=(int) [ 16, 4096 ]";
|
"width=(int) [ 16, 4096 ], " "height=(int) [ 16, 4096 ]";
|
||||||
videodec_class->default_src_template_caps = GST_VIDEO_CAPS_YUV ("I420");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -233,6 +233,10 @@ gst_omx_video_dec_class_init (GstOMXVideoDecClass * klass)
|
||||||
GST_DEBUG_FUNCPTR (gst_omx_video_dec_handle_frame);
|
GST_DEBUG_FUNCPTR (gst_omx_video_dec_handle_frame);
|
||||||
base_video_decoder_class->finish =
|
base_video_decoder_class->finish =
|
||||||
GST_DEBUG_FUNCPTR (gst_omx_video_dec_finish);
|
GST_DEBUG_FUNCPTR (gst_omx_video_dec_finish);
|
||||||
|
|
||||||
|
klass->default_src_template_caps = "video/x-raw-yuv, "
|
||||||
|
"width = " GST_VIDEO_SIZE_RANGE ", "
|
||||||
|
"height = " GST_VIDEO_SIZE_RANGE ", " "framerate = " GST_VIDEO_FPS_RANGE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -81,7 +81,6 @@ gst_omx_wmv_dec_class_init (GstOMXWMVDecClass * klass)
|
||||||
videodec_class->set_format = GST_DEBUG_FUNCPTR (gst_omx_wmv_dec_set_format);
|
videodec_class->set_format = GST_DEBUG_FUNCPTR (gst_omx_wmv_dec_set_format);
|
||||||
|
|
||||||
videodec_class->default_sink_template_caps = "video/x-wmv";
|
videodec_class->default_sink_template_caps = "video/x-wmv";
|
||||||
videodec_class->default_src_template_caps = GST_VIDEO_CAPS_YUV ("I420");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue