gxf: Fix 25 fps DV material in GXF being misdetected as 50 fps
authorTomas Härdin <tomas.hardin@codemill.se>
Thu, 23 Jun 2011 13:59:33 +0000 (15:59 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sat, 9 Jul 2011 10:32:22 +0000 (12:32 +0200)
commit99fecc64b064a013559d3d61f7d9790e3c95c80e
tree918d57a174ed494079e71b86d66f2bc6fd38dcd1
parentd8dbe20241558a1b4439ac33120caa4dafebf418
gxf: Fix 25 fps DV material in GXF being misdetected as 50 fps

Set DV packet durations using fields_per_frame.
This requires turning gxf_stream_info into the demuxer's context for access to the value in gxf_packet().
Since MPEG-2 seems to work fine this done only for DV.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/gxf.c