mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-26 08:18:22 +00:00
subtitle: avoid deadlock
This commit is contained in:
parent
74683f60c4
commit
6d5882754f
|
@ -1745,7 +1745,6 @@ gst_subtitle_overlay_video_sink_setcaps (GstSubtitleOverlay * self,
|
||||||
block_video (self);
|
block_video (self);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_SUBTITLE_OVERLAY_LOCK (self);
|
|
||||||
if (self->fps_n != info.fps_n || self->fps_d != info.fps_d) {
|
if (self->fps_n != info.fps_n || self->fps_d != info.fps_d) {
|
||||||
GST_DEBUG_OBJECT (self, "New video fps: %d/%d", info.fps_n, info.fps_d);
|
GST_DEBUG_OBJECT (self, "New video fps: %d/%d", info.fps_n, info.fps_d);
|
||||||
self->fps_n = info.fps_n;
|
self->fps_n = info.fps_n;
|
||||||
|
|
Loading…
Reference in a new issue