gst/playback/gstplaybin.c: Detect NO_PREROLL state change returns and disable clock...
authorWim Taymans <wim.taymans@gmail.com>
Mon, 25 Sep 2006 13:24:59 +0000 (13:24 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 25 Sep 2006 13:24:59 +0000 (13:24 +0000)
commit5c5edca36455d2130eb9bc6e6f2602f8c06991da
tree2e50d572f7a62d3424b6a168d5455d085c5bce3d
parentdfbd97a889d0cb229c11a45bc3fbc53ac53ab303
gst/playback/gstplaybin.c: Detect NO_PREROLL state change returns and disable clock distribution to the sinks so that...

Original commit message from CVS:
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(gst_play_bin_vis_blocked), (gst_play_bin_set_property),
(gen_video_element), (gen_text_element), (gen_audio_element),
(gen_vis_element), (remove_sinks), (add_sink), (setup_sinks),
(gst_play_bin_set_clock_func), (gst_play_bin_change_state):
Detect NO_PREROLL state change returns and disable clock distribution to
the sinks so that sync is disabled.
Avoid some type checking and do simple casts instead.
Small cleanups, fix some FIXMEs.
Be more robust when linking user specified elements, catch an report
errors. Fixes #357404.
Fix some leaks in the error paths.
ChangeLog
gst/playback/gstplaybin.c