In video4linux2, in the case the timebase value in ap is 0/0, read the
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 5 Jan 2011 14:15:11 +0000 (14:15 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 5 Jan 2011 14:15:11 +0000 (14:15 +0000)
commit8621a37d9feff940be19e47344cc521adca1fca2
tree7fb9e80b32e6286ba6e85ddcbdb299016c354efd
parent2d777bb7a20041ac0564ffef85bf40619af8ccd1
In video4linux2, in the case the timebase value in ap is 0/0, read the
timebase value already set in the driver, and set it back in the codec
stream, rather than leaving the invalid value of 0/0.

In particular, fix ffmpeg grabbing timestamps when the timebase value
is not set through the CLI.

Originally committed as revision 26224 to svn://svn.ffmpeg.org/ffmpeg/trunk
doc/indevs.texi
libavdevice/avdevice.h
libavdevice/v4l2.c