playsink: do not abort if a property is not found.
authorAlban Browaeys <prahal@yahoo.com>
Mon, 14 May 2012 05:01:18 +0000 (07:01 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 15 May 2012 07:22:44 +0000 (09:22 +0200)
commit71e39c0e84093a4ff127575e992bfafad0c8a38f
tree59a5f21207cba452476347363fa7ca1894b3f77a
parent7e054c9af05c4a7382bd9acb28c2d068139b89e5
playsink: do not abort if a property is not found.

If a property is not found (for example last-sample when
gst_debug_bin_to_dot_file is used while the pipeline is
slightly broken (thus no last-sample) the unref of the item
gvalue which is not refed fails. Only unref if it was found.
gst/playback/gstplaysink.c