mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +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/4714>
This commit is contained in:
parent
cf3fdabb22
commit
d93f0a51c2
1 changed files with 0 additions and 2 deletions
|
@ -1440,8 +1440,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