Etoys: GStreamer-UI-kfr.19.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Etoys: GStreamer-UI-kfr.19.mcz

commits-2
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!

_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev