mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
d3d11videosink: Fix error on pause and play
The show_frame() can be called without prepare() call on paused to playing state change. Thus the prepared buffer should not be cleared on show_frame() Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4700>
This commit is contained in:
parent
75d6621c2a
commit
8e1677bd6a
1 changed files with 0 additions and 2 deletions
|
@ -1452,8 +1452,6 @@ gst_d3d11_video_sink_show_frame (GstVideoSink * sink, GstBuffer * buf)
|
|||
ret = GST_FLOW_ERROR;
|
||||
}
|
||||
|
||||
gst_clear_buffer (&self->prepared_buffer);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue