[etoys-dev] Etoys: GStreamer-UI-kfr.19.mcz

commits at source.squeak.org commits at source.squeak.org
Tue May 17 03:40:07 EDT 2011


Karl Ramberg uploaded a new version of GStreamer-UI to project Etoys:
http://source.squeak.org/etoys/GStreamer-UI-kfr.19.mcz

==================== Summary ====================

Name: GStreamer-UI-kfr.19
Author: kfr
Time: 17 May 2011, 9:39:55 am
UUID: f52557d8-a067-6e49-a6e6-2b8f7b193d7d
Ancestors: GStreamer-UI-JMM.18

GStreamerPlayer's Viewer throws an exception when you try to view "movie controls" category in Viewer
http://tracker.squeakland.org/browse/SQ-671

=============== Diff against GStreamer-UI-JMM.18 ===============

Item was changed:
  ----- Method: GStreamerDisplayMorph>>totalFrames (in category 'accessing') -----
  totalFrames
  	"Answer the total number of frames in this movie."
+ 	gstreamer isNil
+ 		ifTrue: [^ 0].
+ 	gstreamer hasVideo ifFalse: [^ 0].
- 
  	^gstreamer totalFrames!

Item was changed:
  ----- Method: GStreamerDisplayMorph>>totalSeconds (in category 'accessing') -----
  totalSeconds
  	"Answer the total number of seconds in this movie."
  
  	| seconds |
+ 	gstreamer isNil
+ 		ifTrue: [^ 0].
  	gstreamer hasVideo ifFalse: [^ 0].
  	seconds := gstreamer pipeline queryDurationInSecondsOrNilAsFloat.
  	seconds ifNil: [^0.0].
  	^seconds!



More information about the etoys-dev mailing list