CVS Root: /cvs/gstreamer
Module: gst-plugins-good
Changes by: wtay
Date: Mon Nov 24 2008 12:20:44 UTC
Log message:
* gst/rtsp/gstrtspsrc.c: (new_session_pad),
(gst_rtspsrc_parse_range):
Add some more debugging.
Use the reanges received from the server unconditionally.
Fixes #561625.
Modified files:
. : ChangeLog
gst/rtsp : gstrtspsrc.c
Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/ChangeLog.diff?r1=1.3830&r2=1.3831
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-good/gst/rtsp/gstrtspsrc.c.diff?r1=1.146&r2=1.147
====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/ChangeLog,v
retrieving revision 1.3830
retrieving revision 1.3831
diff -u -d -r1.3830 -r1.3831
--- ChangeLog 23 Nov 2008 15:08:43 -0000 1.3830
+++ ChangeLog 24 Nov 2008 12:20:27 -0000 1.3831
@@ -1,3 +1,11 @@
+2008-11-24 Wim Taymans <[email protected]>
+
+ * gst/rtsp/gstrtspsrc.c: (new_session_pad),
+ (gst_rtspsrc_parse_range):
+ Add some more debugging.
+ Use the reanges received from the server unconditionally.
+ Fixes #561625.
2008-11-23 Stefan Kost <[email protected]>
* ext/pulse/pulsesink.c:
Index: gstrtspsrc.c
RCS file: /cvs/gstreamer/gst-plugins-good/gst/rtsp/gstrtspsrc.c,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -d -r1.146 -r1.147
--- gstrtspsrc.c 13 Nov 2008 16:11:16 -0000 1.146
+++ gstrtspsrc.c 24 Nov 2008 12:20:29 -0000 1.147
@@ -1667,6 +1667,10 @@
all_added = TRUE;
for (lstream = src->streams; lstream; lstream = g_list_next (lstream)) {
stream = (GstRTSPStream *) lstream->data;
+ GST_DEBUG_OBJECT (src, "stream %p, container %d, disabled %d, added %d",
+ stream, stream->container, stream->disabled, stream->added);
/* a container stream only needs one pad added. Also disabled streams don't
* count */
if (!stream->container && !stream->disabled && !stream->added) {
@@ -4117,7 +4121,10 @@
GST_DEBUG_OBJECT (src, "range: min %" GST_TIME_FORMAT,
GST_TIME_ARGS (seconds));
- gst_segment_set_last_stop (segment, GST_FORMAT_TIME, seconds);
+ /* we need to start playback without clipping from the position reported by
+ * the server */
+ segment->start = seconds;
+ segment->last_stop = seconds;
if (therange->max.type == GST_RTSP_TIME_NOW)
seconds = -1;
@@ -4959,6 +4966,7 @@
{
return GST_URI_SRC;
}
static gchar **
gst_rtspsrc_uri_get_protocols (void)
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.