mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
examples/gstfile.py: Cleanup
Original commit message from CVS: * examples/gstfile.py: Cleanup * gst/gst-types.defs: * gst/gst.defs: API update. More fixes to follow.
This commit is contained in:
parent
e01f28103c
commit
9bee5b3f6a
4 changed files with 31 additions and 13 deletions
|
@ -1,3 +1,12 @@
|
|||
2005-11-21 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* examples/gstfile.py:
|
||||
Cleanup
|
||||
* gst/gst-types.defs:
|
||||
* gst/gst.defs:
|
||||
API update.
|
||||
More fixes to follow.
|
||||
|
||||
2005-11-21 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* gst/gst.defs (net_client_clock_new): Add some defaults.
|
||||
|
|
|
@ -141,8 +141,6 @@ class Discoverer(gst.Pipeline):
|
|||
elif msg.type & gst.MESSAGE_ERROR:
|
||||
print "whooops, error", msg.parse_error()
|
||||
break
|
||||
else:
|
||||
print "unknown message type"
|
||||
|
||||
self.set_state(gst.STATE_PAUSED)
|
||||
self.set_state(gst.STATE_READY)
|
||||
|
|
|
@ -352,11 +352,12 @@
|
|||
(c-name "GstClockFlags")
|
||||
(gtype-id "GST_TYPE_CLOCK_FLAGS")
|
||||
(values
|
||||
'("do-single-sync" "GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC")
|
||||
'("do-single-async" "GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC")
|
||||
'("do-periodic-sync" "GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC")
|
||||
'("do-periodic-async" "GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC")
|
||||
'("set-resolution" "GST_CLOCK_FLAG_CAN_SET_RESOLUTION")
|
||||
'("can-do-single-sync" "GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC")
|
||||
'("can-do-single-async" "GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC")
|
||||
'("can-do-periodic-sync" "GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC")
|
||||
'("can-do-periodic-async" "GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC")
|
||||
'("can-set-resolution" "GST_CLOCK_FLAG_CAN_SET_RESOLUTION")
|
||||
'("last" "GST_CLOCK_FLAG_LAST")
|
||||
)
|
||||
)
|
||||
|
||||
|
|
22
gst/gst.defs
22
gst/gst.defs
|
@ -724,6 +724,21 @@
|
|||
)
|
||||
)
|
||||
|
||||
(define-method set_master
|
||||
(of-object "GstClock")
|
||||
(c-name "gst_clock_set_master")
|
||||
(return-type "none")
|
||||
(parameters
|
||||
'("GstClock*" "master")
|
||||
)
|
||||
)
|
||||
|
||||
(define-method get_master
|
||||
(of-object "GstClock")
|
||||
(c-name "gst_clock_get_master")
|
||||
(return-type "GstClock*")
|
||||
)
|
||||
|
||||
(define-method get_internal_time
|
||||
(of-object "GstClock")
|
||||
(c-name "gst_clock_get_internal_time")
|
||||
|
@ -4507,12 +4522,6 @@
|
|||
)
|
||||
)
|
||||
|
||||
(define-method scan_paths
|
||||
(of-object "GstRegistry")
|
||||
(c-name "gst_registry_scan_paths")
|
||||
(return-type "none")
|
||||
)
|
||||
|
||||
(define-function default_registry_check_feature_version
|
||||
(c-name "gst_default_registry_check_feature_version")
|
||||
(return-type "gboolean")
|
||||
|
@ -4567,6 +4576,7 @@
|
|||
'("gint64" "cur")
|
||||
'("GstSeekType" "stop_type")
|
||||
'("gint64" "stop")
|
||||
'("gboolean*" "update")
|
||||
)
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue