From f331082b207098f9268ba2fc8bd06db66d7da23e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Fri, 9 Jul 2021 14:55:43 +0200 Subject: [PATCH] play: Emit correct signal SIGNAL_MEDIA_INFO_UPDATED should be emitted on media info changes, not SIGNAL_VIDEO_DIMENSIONS_CHANGED. Part-of: --- gst-libs/gst/play/gstplay-signal-adapter.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst-libs/gst/play/gstplay-signal-adapter.c b/gst-libs/gst/play/gstplay-signal-adapter.c index cc5f0e0ce4..55cccbd3a4 100644 --- a/gst-libs/gst/play/gstplay-signal-adapter.c +++ b/gst-libs/gst/play/gstplay-signal-adapter.c @@ -168,8 +168,7 @@ gst_play_signal_adapter_emit (GstPlaySignalAdapter * self, GstPlayMediaInfo *media_info; gst_structure_get (message_data, GST_PLAY_MESSAGE_DATA_MEDIA_INFO, GST_TYPE_PLAY_MEDIA_INFO, &media_info, NULL); - g_signal_emit (self, signals[SIGNAL_VIDEO_DIMENSIONS_CHANGED], 0, - media_info); + g_signal_emit (self, signals[SIGNAL_MEDIA_INFO_UPDATED], 0, media_info); g_object_unref (media_info); break; }