gst/playback/gstplaybasebin.c: fixed a caps leak nullify source and decoder when going from READY to NULL so that we ...
gst/playback/gstplaybasebin.c: fixed a caps leak nullify source and decoder when going from READY to NULL so that we ...

Original commit message from CVS:
2004-11-27  Christophe Fergeau  <teuf@gnome.org>

* gst/playback/gstplaybasebin.c: (setup_source): fixed a caps leak
(gst_play_base_bin_change_state): nullify source and decoder when
going from READY to NULL so that we don't try to do weird stuff with
them when going from NULL to READY
* gst/playback/gstplaybin.c: (gst_play_bin_init): use gst_object_unref
instead of g_object_unref
(gen_video_element), (gen_audio_element): more refcounting fixes, now
it should be correct
(gst_play_bin_change_state): don't call remove_sinks if we are
currently disposing the object

freedesktop-unofficial-mirror/gstreamer__gst-plugins-ugly,alessandrod/gst-plugins-ugly,jar1karp/gst-plugins-ugly,krieger-od/gst-plugins-ugly,collects/gst-plugins-ugly,PPCDroid/external-gst-plugins-ugly,alessandrod/gst-plugins-ugly,shelsonjava/gst-plugins-ugly,prajnashi/gst-plugins-ugly,PPCDroid/external-gst-plugins-ugly,sebras/gst-plugins-ugly,Lachann/gst-plugins-ugly,Lachann/gst-plugins-ugly,freedesktop-unofficial-mirror/gstreamer-sdk__gst-plugins-ugly,sebras/gst-plugins-ugly,ahmedammar/platform_external_gst_plugins_ugly,GStreamer/gst-plugins-ugly,Kurento/gst-plugins-ugly,cablelabs/gst-plugins-ugly,cablelabs/gst-plugins-ugly,surround-io/gst-plugins-ugly,PPCDroid/external-gst-plugins-ugly,jahrome/gst-plugins-ugly,knuesel/gst-plugins-ugly,alessandrod/gst-plugins-ugly,shelsonjava/gst-plugins-ugly,Distrotech/gst-plugins-ugly,fluendo/gst-plugins-ugly,collects/gst-plugins-ugly,surround-io/gst-plugins-ugly,shelsonjava/gst-plugins-ugly,ylatuya/gst-plugins-ugly,Distrotech/gst-plugins-ugly,jar1karp/gst-plugins-ugly,matsu/gst-plugins-ugly,GrokImageCompression/gst-plugins-ugly,GrokImageCompression/gst-plugins-ugly,jahrome/gst-plugins-ugly,reynaldo-samsung/gst-plugins-ugly,ylatuya/gst-plugins-ugly,Kurento/gst-plugins-ugly,freedesktop-unofficial-mirror/gstreamer-sdk__gst-plugins-ugly,krieger-od/gst-plugins-ugly,jpakkane/gstreamer-plugins-ugly,matsu/gst-plugins-ugly,collects/gst-plugins-ugly,surround-io/gst-plugins-ugly,sebras/gst-plugins-ugly,Distrotech/gst-plugins-ugly,GStreamer/gst-plugins-ugly,fluendo/gst-plugins-ugly,matsu/gst-plugins-ugly,ahmedammar/platform_external_gst_plugins_ugly,StreamUtils/gst-plugins-ugly,krieger-od/gst-plugins-ugly,Kurento/gst-plugins-ugly,jahrome/gst-plugins-ugly,prajnashi/gst-plugins-ugly,knuesel/gst-plugins-ugly,freedesktop-unofficial-mirror/gstreamer__gst-plugins-ugly,Lachann/gst-plugins-ugly,GrokImageCompression/gst-plugins-ugly,collects/gst-plugins-ugly,ahmedammar/platform_external_gst_plugins_ugly,Distrotech/gst-plugins-ugly,prajnashi/gst-plugins-ugly,jpakkane/gstreamer-plugins-ugly,matsu/gst-plugins-ugly,reynaldo-samsung/gst-plugins-ugly,freedesktop-unofficial-mirror/gstreamer__gst-plugins-ugly,knuesel/gst-plugins-ugly,reynaldo-samsung/gst-plugins-ugly,GStreamer/gst-plugins-ugly,jar1karp/gst-plugins-ugly,cablelabs/gst-plugins-ugly,freedesktop-unofficial-mirror/gstreamer-sdk__gst-plugins-ugly,StreamUtils/gst-plugins-ugly,fluendo/gst-plugins-ugly,krieger-od/gst-plugins-ugly,jpakkane/gstreamer-plugins-ugly,ylatuya/gst-plugins-ugly,StreamUtils/gst-plugins-ugly,Distrotech/gst-plugins-ugly