[FFmpeg-soc] [soc]: r4461 - rtmp/rtmpdec.c
kostya
subversion at mplayerhq.hu
Tue Jun 16 18:52:51 CEST 2009
Author: kostya
Date: Tue Jun 16 18:52:51 2009
New Revision: 4461
Log:
Print debug messages during 'createStream' and 'play' calls to server
Modified:
rtmp/rtmpdec.c
Modified: rtmp/rtmpdec.c
==============================================================================
--- rtmp/rtmpdec.c Tue Jun 16 18:48:34 2009 (r4460)
+++ rtmp/rtmpdec.c Tue Jun 16 18:52:51 2009 (r4461)
@@ -95,6 +95,7 @@ static void gen_create_stream(AVFormatCo
uint8_t *p;
double num;
+ av_log(s, AV_LOG_DEBUG, "Creating stream...\n");
rtmp_packet_create(&pkt, RTMP_VIDEO_CHANNEL, RTMP_PT_INVOKE, 0, 25);
num = 3.0;
@@ -113,6 +114,7 @@ static void gen_play(AVFormatContext *s,
uint8_t *p;
double num;
+ av_log(s, AV_LOG_DEBUG, "Sending play command for '%s'\n", rt->playpath);
rtmp_packet_create(&pkt, RTMP_VIDEO_CHANNEL, RTMP_PT_INVOKE, 0,
29 + strlen(rt->playpath));
More information about the FFmpeg-soc
mailing list