diff options
author | Andy Wingo <wingo@pobox.com> | 2008-11-12 11:55:14 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2008-11-12 11:55:14 +0000 |
commit | c71fe3f75d04ceb5185a53d25747d7c3283b86fe (patch) | |
tree | 0639af3d99b392f033b0d1a10837c4b82c7238ec /gst/qtdemux/qtdemux.h | |
parent | 03ab3610c76eae0223a02c8871f6f58d114446ed (diff) |
gst/qtdemux/qtdemux.*: Queue up new segment events instead of sending them from the seeking thread.
Original commit message from CVS:
* gst/qtdemux/qtdemux.h (struct _GstQTDemux):
* gst/qtdemux/qtdemux.c (gst_qtdemux_do_seek): Queue up new
segment events instead of sending them from the seeking thread.
Fixes #559288.
(gst_qtdemux_push_pending_newsegment): New helper, sends out
queued newsegment events.
(gst_qtdemux_loop_state_movie): VoilĂ , call it here. Only need to
call it here, as we only seek when looping, and only push in the
movie state.
Diffstat (limited to 'gst/qtdemux/qtdemux.h')
-rw-r--r-- | gst/qtdemux/qtdemux.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/qtdemux/qtdemux.h b/gst/qtdemux/qtdemux.h index c887df7c..cb67096b 100644 --- a/gst/qtdemux/qtdemux.h +++ b/gst/qtdemux/qtdemux.h @@ -89,6 +89,7 @@ struct _GstQTDemux { /* configured playback region */ GstSegment segment; gboolean segment_running; + GstEvent *pending_newsegment; }; struct _GstQTDemuxClass { |