diff options
author | Clément Bœsch <clement.boesch@smartjog.com> | 2011-07-04 10:19:46 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2011-07-05 17:22:51 +0200 |
commit | 76f105967bb5340754ee693658ad87199682fe1f (patch) | |
tree | 144b863a946566134a64fb79f41b766c92ba7ba8 | |
parent | afd06c68734e251a616fa53abdcf864e31c302e2 (diff) | |
download | ffmpeg-76f105967bb5340754ee693658ad87199682fe1f.tar.gz |
mxfenc: fix ignored drop flag in binary timecode representation.
-rw-r--r-- | libavformat/mxfenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index 9b5b4b7455..d44e7676d6 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -1539,7 +1539,7 @@ static const uint8_t system_metadata_package_set_key[] = { 0x06,0x0E,0x2B,0x34,0 static uint32_t ff_framenum_to_12m_time_code(unsigned frame, int drop, int fps) { return (0 << 31) | // color frame flag - (0 << 30) | // drop frame flag + (drop << 30) | // drop frame flag ( ((frame % fps) / 10) << 28) | // tens of frames ( ((frame % fps) % 10) << 24) | // units of frames (0 << 23) | // field phase (NTSC), b0 (PAL) |