mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
vtdec: We shouldn't manually check reconfigure flag on pads but instead implement ::negotiate()
Add FIXME comment related to that.
This commit is contained in:
parent
8899efae60
commit
7020154f1c
1 changed files with 3 additions and 0 deletions
|
@ -704,6 +704,9 @@ gst_vtdec_push_frames_if_needed (GstVtdec * vtdec, gboolean drain,
|
|||
GstFlowReturn ret = GST_FLOW_OK;
|
||||
GstVideoDecoder *decoder = GST_VIDEO_DECODER (vtdec);
|
||||
|
||||
/* FIXME: Instead of this, implement GstVideoDecoder::negotiate() and
|
||||
* just call gst_video_decoder_negotiate()
|
||||
*/
|
||||
/* negotiate now so that we know whether we need to use the GL upload meta or
|
||||
* not */
|
||||
if (gst_pad_check_reconfigure (decoder->srcpad)) {
|
||||
|
|
Loading…
Reference in a new issue