gst/rtsp/URLS: Add another interesting test url.

Original commit message from CVS:
* gst/rtsp/URLS:
Add another interesting test url.
* gst/rtsp/rtspmessage.c: (rtsp_message_get_header):
Don't allow getting header fields from data packets.
This commit is contained in:
Wim Taymans 2007-02-28 10:06:27 +00:00
parent 570e2ffd10
commit 3a6dd1e4bf
3 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,11 @@
2007-02-28 Wim Taymans <wim@fluendo.com>
* gst/rtsp/URLS:
Add another interesting test url.
* gst/rtsp/rtspmessage.c: (rtsp_message_get_header):
Don't allow getting header fields from data packets.
2007-02-28 Michael Smith <msmith@fluendo.com>
* ext/shout2/gstshout2.c: (gst_shout2send_class_init),

View file

@ -14,6 +14,7 @@ MP4V-ES/mpeg4-generic(ACC):
rtsp://vod.nwec.jp/quicktime/505.mov
rtsp://203.140.68.241:554/hirakataeizou9.mp4
rtsp://kmdi.utoronto.ca:555/osconf/2004_may9.1.mp4
rtsp://a2047.v1413b.c1413.g.vq.akamaistream.net/5/2047/1413/1_h264_110/1a1a1ae656c632970267e04ebd3196c428970e7ce857b81c4aab1677e445aedc3fae1b4a7bafe013/8848125_1_110.mov
REAL:
rtsp://213.254.239.61/farm/*/encoder/tagesschau/live1high.rm

View file

@ -253,6 +253,9 @@ rtsp_message_get_header (const RTSPMessage * msg, RTSPHeaderField field,
g_return_val_if_fail (msg != NULL, RTSP_EINVAL);
if (msg->type != RTSP_MESSAGE_RESPONSE && msg->type != RTSP_MESSAGE_REQUEST)
return RTSP_ENOTIMPL;
val = g_hash_table_lookup (msg->hdr_fields, GINT_TO_POINTER (field));
if (val == NULL)
return RTSP_ENOTIMPL;