projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8550c2
)
[MOVED FROM GST-P-FARSIGHT] Fix RTP timestamps by sending a new_segment event to...
author
Youness Alaoui
<youness.alaoui@collabora.co.uk>
Mon, 27 Aug 2007 17:24:24 +0000
(17:24 +0000)
committer
Edward Hervey
<bilboed@bilboed.com>
Sat, 21 Feb 2009 16:48:00 +0000
(17:48 +0100)
20070827172424
-4f0f6-
d20907e3d436d50bfe74eb4fc3d2d6d7b6b6dbc5
.gz
gst/dtmf/gstdtmfsrc.c
patch
|
blob
|
history
diff --git
a/gst/dtmf/gstdtmfsrc.c
b/gst/dtmf/gstdtmfsrc.c
index 3cefa651b4b2e7bc76902dae9a3985b172ee802a..ae6fb74ad7476af2f040cba5fccd471aa68a084d 100644
(file)
--- a/
gst/dtmf/gstdtmfsrc.c
+++ b/
gst/dtmf/gstdtmfsrc.c
@@
-792,7
+792,10
@@
gst_dtmf_src_change_state (GstElement * element, GstStateChange transition)
switch (transition) {
case GST_STATE_CHANGE_READY_TO_PAUSED:
- gst_segment_init (&dtmfsrc->segment, GST_FORMAT_UNDEFINED);
+ gst_segment_init (&dtmfsrc->segment, GST_FORMAT_TIME);
+ gst_pad_push_event (dtmfsrc->srcpad, gst_event_new_new_segment (FALSE,
+ dtmfsrc->segment.rate, dtmfsrc->segment.format,
+ dtmfsrc->segment.start, dtmfsrc->segment.stop, dtmfsrc->segment.time));
/* Indicate that we don't do PRE_ROLL */
no_preroll = TRUE;
break;