diff options
Diffstat (limited to 'src/encode.c')
-rw-r--r-- | src/encode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encode.c b/src/encode.c index a18fe5e..72e91a7 100644 --- a/src/encode.c +++ b/src/encode.c @@ -149,9 +149,9 @@ on_demuxer_pad_added (GstElement *demuxer, sinkpad = gst_element_get_static_pad (rtppay, "sink"); gst_pad_link (srcpad, sinkpad); stp_print_status ("Streaming a vp8 stream on UDP\n"); + gst_object_unref (sinkpad); out: g_free (name); - gst_object_unref (sinkpad); } static void |