mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 13:08:49 +00:00
validate: Remove some dead code
CID 1415457
This commit is contained in:
parent
e70557dc3e
commit
f7252cbd48
1 changed files with 0 additions and 4 deletions
|
@ -158,7 +158,6 @@ _check_pad_query_failures (GstPad * pad, GString * str,
|
||||||
GstValidatePadMonitor ** last_refused_caps_monitor)
|
GstValidatePadMonitor ** last_refused_caps_monitor)
|
||||||
{
|
{
|
||||||
GstValidatePadMonitor *monitor;
|
GstValidatePadMonitor *monitor;
|
||||||
GstPad *ghost_target = NULL;
|
|
||||||
|
|
||||||
monitor = g_object_get_data (G_OBJECT (pad), "validate-monitor");
|
monitor = g_object_get_data (G_OBJECT (pad), "validate-monitor");
|
||||||
|
|
||||||
|
@ -170,9 +169,6 @@ _check_pad_query_failures (GstPad * pad, GString * str,
|
||||||
if (monitor->last_refused_caps)
|
if (monitor->last_refused_caps)
|
||||||
gst_object_replace ((GstObject **) last_refused_caps_monitor,
|
gst_object_replace ((GstObject **) last_refused_caps_monitor,
|
||||||
(GstObject *) monitor);
|
(GstObject *) monitor);
|
||||||
|
|
||||||
if (ghost_target)
|
|
||||||
gst_object_unref (ghost_target);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstPad *
|
static GstPad *
|
||||||
|
|
Loading…
Reference in a new issue