mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
play: Emit correct signal
SIGNAL_MEDIA_INFO_UPDATED should be emitted on media info changes, not SIGNAL_VIDEO_DIMENSIONS_CHANGED. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2398>
This commit is contained in:
parent
c22ae0700b
commit
f331082b20
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue