diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-11-10 13:48:02 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-11-10 13:48:02 +0000 |
commit | b602849ad7cd8ce3b9c99da97bc3b4138cf8159d (patch) | |
tree | a6e53a2a202672f963aea421a7ab6dcb6152a12c /src/demuxers/demux_pes.c | |
parent | 1944fafeb5b8d23bd667cbf9b97cb115b2517483 (diff) | |
download | xine-lib-b602849ad7cd8ce3b9c99da97bc3b4138cf8159d.tar.gz xine-lib-b602849ad7cd8ce3b9c99da97bc3b4138cf8159d.tar.bz2 |
very unfinished scr discontinuity detection stuff, new software audio out buffer and thread
CVS patchset: 1010
CVS date: 2001/11/10 13:48:02
Diffstat (limited to 'src/demuxers/demux_pes.c')
-rw-r--r-- | src/demuxers/demux_pes.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/demuxers/demux_pes.c b/src/demuxers/demux_pes.c index 868cec381..77defa9a7 100644 --- a/src/demuxers/demux_pes.c +++ b/src/demuxers/demux_pes.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_pes.c,v 1.11 2001/10/25 00:46:59 miguelfreitas Exp $ + * $Id: demux_pes.c,v 1.12 2001/11/10 13:48:02 guenter Exp $ * * demultiplexer for mpeg 2 PES (Packetized Elementary Streams) * reads streams of variable blocksizes @@ -168,6 +168,7 @@ static void parse_mpeg2_packet (demux_pes_t *this, int nID) { } buf->type = BUF_AUDIO_A52 + track; buf->PTS = pts; + buf->SCR = pts; /* FIMXE! */ if (this->preview_mode) buf->decoder_info[0] = 0; else @@ -217,6 +218,7 @@ static void parse_mpeg2_packet (demux_pes_t *this, int nID) { } buf->type = BUF_AUDIO_MPEG + track; buf->PTS = pts; + buf->SCR = pts; /* FIXME ! */ if (this->preview_mode) buf->decoder_info[0] = 0; else @@ -266,6 +268,7 @@ static void parse_mpeg2_packet (demux_pes_t *this, int nID) { } buf->type = BUF_VIDEO_MPEG; buf->PTS = pts; + buf->SCR = pts; /* FIXME! */ if (this->preview_mode) buf->decoder_info[0] = 0; else |