mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
validate: Do not segfault when receiving a segment on unlink pad
For some reason we did no discover that before.
This commit is contained in:
parent
8eeaa1a95f
commit
0ad475063d
1 changed files with 2 additions and 0 deletions
|
@ -1166,6 +1166,8 @@ gst_validate_pad_monitor_add_expected_newsegment (GstValidatePadMonitor *
|
|||
switch (gst_iterator_next (iter, &value)) {
|
||||
case GST_ITERATOR_OK:
|
||||
otherpad = g_value_get_object (&value);
|
||||
if (!otherpad)
|
||||
continue;
|
||||
othermonitor =
|
||||
g_object_get_data ((GObject *) otherpad, "validate-monitor");
|
||||
GST_VALIDATE_MONITOR_LOCK (othermonitor);
|
||||
|
|
Loading…
Reference in a new issue