1000l, removed code that messed with the internals of demux_packet_t (but there's still more); patch by C.E.Hoyos fixed by me

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22371 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2007-02-27 21:16:54 +00:00
parent 5ad12e4fbb
commit e4fbdd185e
1 changed files with 1 additions and 2 deletions

View File

@ -348,7 +348,6 @@ Boolean insertRTPData(demuxer_t* demuxer, demux_stream_t* ds,
// Copy our data into the buffer, and save it:
memmove(dp->buffer, data, dataLen);
dp->len = dataLen;
dp->pts = 0;
bufferQueue->savePendingBuffer(dp);
return True;
@ -402,7 +401,7 @@ static void afterReading(void* clientData, unsigned frameSize,
if (frameSize > 0) demuxer->stream->eof = 0;
demux_packet_t* dp = bufferQueue->dp;
dp->len = frameSize;
resize_demux_packet(dp, frameSize);
// Set the packet's presentation time stamp, depending on whether or
// not our RTP source's timestamps have been synchronized yet: