small fixes to docs and debug
authorWim Taymans <wim.taymans@collabora.co.uk>
Sat, 27 Oct 2012 09:53:51 +0000 (11:53 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Sat, 27 Oct 2012 09:53:51 +0000 (11:53 +0200)
examples/test-mp4.c
gst/rtsp-server/rtsp-media.c

index ba31ca2..8593da4 100644 (file)
@@ -33,7 +33,7 @@ main (int argc, char *argv[])
   gst_init (&argc, &argv);
 
   if (argc < 2) {
-    g_message ("usage: %s <filename.ogg>", argv[0]);
+    g_message ("usage: %s <filename.mp4>", argv[0]);
     return -1;
   }
 
index 3fc6483..e7328c0 100644 (file)
@@ -274,6 +274,8 @@ collect_media_stats (GstRTSPMedia * media)
 
   media->range.unit = GST_RTSP_RANGE_NPT;
 
+  GST_INFO ("collect media stats");
+
   if (media->is_live) {
     media->range.min.type = GST_RTSP_TIME_NOW;
     media->range.min.seconds = -1;
@@ -1059,6 +1061,7 @@ pad_added_cb (GstElement * element, GstPad * pad, GstRTSPMedia * media)
 {
   GstRTSPStream *stream;
 
+  /* FIXME, element is likely not a payloader, find the payloader here */
   stream = gst_rtsp_media_create_stream (media, element, pad);
 
   GST_INFO ("pad added %s:%s, stream %d", GST_DEBUG_PAD_NAME (pad),