[NUT-devel] [NUT] (ods15): r101 - /trunk/demux_nut.c
syncmail at mplayerhq.hu
syncmail at mplayerhq.hu
Sun Mar 12 05:15:39 CET 2006
Author: ods15
Date: Sun Mar 12 05:15:39 2006
New Revision: 101
Log:
fix mplayer demux_nut
Modified:
trunk/demux_nut.c
Modified: trunk/demux_nut.c
==============================================================================
--- trunk/demux_nut.c (original)
+++ trunk/demux_nut.c Sun Mar 12 05:15:39 2006
@@ -205,7 +205,7 @@
dp->pts = pts;
dp->pos = demuxer->filepos;
- dp->flags= (pd.flags & NUT_KEY_STREAM_FLAG) ? 0x10 : 0;
+ dp->flags= (pd.flags & NUT_FLAG_KEY) ? 0x10 : 0;
while ((ret = nut_read_frame(nut, &pd.len, dp->buffer))) {
if (ret < 0) {
@@ -218,7 +218,7 @@
return 1;
}
-static void demux_seek_nut(demuxer_t * demuxer, float time_pos, int flags) {
+static void demux_seek_nut(demuxer_t * demuxer, float time_pos, float audio_delay, int flags) {
nut_context_t * nut = ((nut_priv_t*)demuxer->priv)->nut;
nut_priv_t * priv = demuxer->priv;
sh_audio_t * sh_audio = demuxer->audio->sh;
More information about the NUT-devel
mailing list