mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
gst/gstbin.c: Get the seqnum before we dispose the message.
Original commit message from CVS: * gst/gstbin.c: (gst_bin_handle_message_func): Get the seqnum before we dispose the message.
This commit is contained in:
parent
5605bbc5d5
commit
16e6c3ef96
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* gst/gstbin.c: (gst_bin_handle_message_func):
|
||||
Get the seqnum before we dispose the message.
|
||||
|
||||
2008-11-04 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* docs/design/part-TODO.txt:
|
||||
|
|
|
@ -2817,6 +2817,7 @@ gst_bin_handle_message_func (GstBin * bin, GstMessage * message)
|
|||
gint64 position;
|
||||
|
||||
gst_message_parse_segment_done (message, &format, &position);
|
||||
seqnum = gst_message_get_seqnum (message);
|
||||
|
||||
GST_OBJECT_LOCK (bin);
|
||||
bin_replace_message (bin, message, GST_MESSAGE_SEGMENT_START);
|
||||
|
@ -2832,7 +2833,6 @@ gst_bin_handle_message_func (GstBin * bin, GstMessage * message)
|
|||
}
|
||||
GST_OBJECT_UNLOCK (bin);
|
||||
if (post) {
|
||||
seqnum = gst_message_get_seqnum (message);
|
||||
tmessage = gst_message_new_segment_done (GST_OBJECT_CAST (bin),
|
||||
format, position);
|
||||
gst_message_set_seqnum (tmessage, seqnum);
|
||||
|
|
Loading…
Reference in a new issue