mpegdemux: avoid extra refs/unrefs of the demuxer
authorJan Schmidt <thaytan@noraisin.net>
Sun, 10 Jun 2012 22:33:36 +0000 (08:33 +1000)
committerJan Schmidt <thaytan@noraisin.net>
Fri, 31 Aug 2012 14:06:50 +0000 (07:06 -0700)
commit628a8ed8b11759abe5da0aff3e1ccede68f38cda
treec72005caa1cede29f40662d1a36f89b9a101b76e
parent429204a89ea384f05a91518a3f7f54b3199e7c3a
mpegdemux: avoid extra refs/unrefs of the demuxer

Change all the gst_pad_get_parent() calls to a cast to the
passed parent variable where appropriate, and don't unref,
including the extra unref in the
gst_flups_demux_sink_activate_push() function.
gst/mpegdemux/gstmpegdemux.c