mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 01:36:25 +01:00
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:
parent
5ad12e4fbb
commit
e4fbdd185e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user