diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-04-30 13:55:36 +0400 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-05-02 20:38:01 +0400 |
commit | 148ffcd2ce116cadb0efdbacc358851222c808d0 (patch) | |
tree | f86fb67aa87ef2182744366fdff342751a7f6654 /libavdevice/dv1394.c | |
parent | f97905e61d7cb86987d7d4f5fabcfc0d6b57ddbb (diff) |
Make DV (sub) demuxer set proper pkt->pos values.
This makes the avi demuxer create packets with proper pos values
with the file from ticket #140.
Diffstat (limited to 'libavdevice/dv1394.c')
-rw-r--r-- | libavdevice/dv1394.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/dv1394.c b/libavdevice/dv1394.c index 588f35662b..a9bc058dc9 100644 --- a/libavdevice/dv1394.c +++ b/libavdevice/dv1394.c @@ -202,7 +202,7 @@ restart_poll: size = dv_produce_packet(dv->dv_demux, pkt, dv->ring + (dv->index * DV1394_PAL_FRAME_SIZE), - DV1394_PAL_FRAME_SIZE); + DV1394_PAL_FRAME_SIZE, -1); dv->index = (dv->index + 1) % DV1394_RING_FRAMES; dv->done++; dv->avail--; |