From: <bi...@fr...> - 2005-12-05 12:01:47
|
CVS Root: /cvs/gstreamer Module: gst-python Changes by: bilboed Date: Mon Dec 05 2005 04:01:44 PST Log message: * examples/gstfile.py: (Discoverer._new_decoded_pad_cb): Fix for fractional framerates. Modified files: . : ChangeLog examples : gstfile.py Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/ChangeLog.diff?r1=1.371&r2=1.372 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/examples/gstfile.py.diff?r1=1.8&r2=1.9 ====Begin Diffs==== Index: gstfile.py =================================================================== RCS file: /cvs/gstreamer/gst-python/examples/gstfile.py,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- gstfile.py 1 Dec 2005 19:15:26 -0000 1.8 +++ gstfile.py 5 Dec 2005 12:01:32 -0000 1.9 @@ -160,9 +160,9 @@ 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: Index: ChangeLog RCS file: /cvs/gstreamer/gst-python/ChangeLog,v retrieving revision 1.371 retrieving revision 1.372 diff -u -d -r1.371 -r1.372 --- ChangeLog 5 Dec 2005 10:58:30 -0000 1.371 +++ ChangeLog 5 Dec 2005 12:01:32 -0000 1.372 @@ -1,3 +1,8 @@ +2005-12-05 Edward Hervey <ed...@fl...> + + * examples/gstfile.py: (Discoverer._new_decoded_pad_cb): + Fix for fractional framerates. 2005-12-05 Andy Wingo <wi...@po...> * testsuite/test_registry.py (RegistryTest.testPluginList): Look |