mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
examples/gstfile.py: Fix for fractional framerates.
Original commit message from CVS: * examples/gstfile.py: (Discoverer._new_decoded_pad_cb): Fix for fractional framerates.
This commit is contained in:
parent
8a6b78b57e
commit
f5f90c4be7
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-12-05 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* examples/gstfile.py: (Discoverer._new_decoded_pad_cb):
|
||||
Fix for fractional framerates.
|
||||
|
||||
2005-12-05 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* testsuite/test_registry.py (RegistryTest.testPluginList): Look
|
||||
|
|
|
@ -160,9 +160,9 @@ class Discoverer(gst.Pipeline):
|
|||
print "\tAudio:", time_to_string(self.audiolength), "\tVideo:", time_to_string(self.videolength)
|
||||
if self.is_video:
|
||||
print "Video :"
|
||||
print "\t%d x %d @ %.2f fps" % (self.videowidth,
|
||||
print "\t%d x %d @ %d/%d fps" % (self.videowidth,
|
||||
self.videoheight,
|
||||
self.videorate)
|
||||
self.videorate.num, self.videorate.denom)
|
||||
if self.tags.has_key("video-codec"):
|
||||
print "\tCodec :", self.tags.pop("video-codec")
|
||||
if self.is_audio:
|
||||
|
|
Loading…
Reference in a new issue