Stein Magnus Jodal
dd466ed895
docs: Update GStreamer install docs
2016-01-31 21:07:17 +01:00
Stein Magnus Jodal
0ef3da5ed3
travis: Replace GStreamer 0.10 with 1.x
2016-01-31 21:07:17 +01:00
Stein Magnus Jodal
780c493af3
gst1: Replace Structure(...) with Stricture.new_empty(...)
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
7a3d5ff13c
gst1: Replace event_new_tag() with Event.new_tag()
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
226c937ffc
gst1: Tune log messages
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
812e53b895
gst1: Replace parse_new_segment() with parse_segment()
...
Fixes 4 unit tests
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
eb4c742015
gst1: Run gst.init() if needed everywhere using Gst
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
592f5dec53
gst1: Remove deprecated GObject.threads_init()
...
Ref https://wiki.gnome.org/Projects/PyGObject/Threading
"The requirement to call GObject.threads_init() has been removed from
PyGObject 3.10.2 when using Python native threads with GI (via the
threading module) as well as with GI repositories which manage their own
threads that may call back into Python (like GStreamer callbacks). The
GObject.threads_init() function will still exist for the entire 3.x
series for compatibility reasons but emits a deprecation warning."
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
ce198ba9f8
gst1: Update pad probe callback to match new signature
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
29a194cb55
gst1: Use new API for TagList creation
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
3e4bd16be2
gst1: Replace playbin-stream-changed with Gst.MessageType.STREAM_START
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
13567d271a
gst1: Update taglist translator
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
3792b8c900
gst1: Use Gst.CLOCK_TIME_NONE to block for state changes in tests
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
da19c8be56
gst1: on_new_segment() gets a Segment struct
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
fc54a17b44
gst1: require_version('Gst', '1.0') before use
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
20b1c21b0b
gst1: Avoid using pipeline.get_clock()
...
Often the clock isn't available for use. gst_pipeline_clock() which is
always available requires Gst 1.6.
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
01cf013b09
gst1: Update query_position() usage
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
87b1c9455c
gst1: Update query_duration() usage
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
5277ad5ff5
gst1: Update get_enum() to include enum type it expects
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
ee99bedf39
gst1: Gst.Bin() no longer takes a name
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
ef40854b86
gst1: Update index into query_position() result
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
3765e90bc7
gst1: Replace DEBUG_BIN_TO_DOT_FILE with debug_bin_to_dot_file
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
ee51983cfd
gst1: Replace TagList() with TagList.new_empty()
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
6c9e2d4d34
gst1: Add timeout to get_state()
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
8a846b8605
gst1: Replace EVENT_* with EventType.*
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
3d98a77a3c
gst1: Replace FLOW_* with FlowReturn.*
2016-01-31 21:07:16 +01:00
Stein Magnus Jodal
275f9d5062
gst1: Buffers no longer have caps
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
f95e307ba0
gst1: Replace BUS_DROP with BusSyncReply.DROP
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
a0714455cd
gst1: Use methods to get struct fields
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
e6a4042c3e
gst1: Replace message.structure with message.get_structure()
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
1b47b6341e
gst1: Replace message_new_application() with Message.new_application()
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
7c473eed07
gst1: Replace MESSAGE_* with MessageType.*
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
1911ea0c10
gst1: Replace STATE_CHANGE_* with StateChangeReturn.*
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
e621d8055a
gst1: Replace gst.pbutils with GstPbutils
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
67f4d57964
gst1: Replace MESSAGE_* with MessageType.*
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
3c2f83f6a6
gst1: Replace Gst.URI_SRC with Gst.URIType.SRC
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
bd077591d0
gst1: Replace element_make_from_uri() with Element.make_from_uri()
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
9c0547d039
gst1: Replace {add,remove}_event_probe() with {add,remove}_event()
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
3f8ebc83c1
gst1: Replace ghost_unconnected_pads with ghost_unlinked_pads
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
38bcdae1bf
gst1: Replace RANK_SECONDARY with Rank.SECONDARY
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
a2b009c581
gst1: Replace TYPE_ELEMENT_FACTORY with ElementFactory
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
8aad1d1846
gst1: Replace registry_get_default() with registry.get()
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
1007d42dd1
gst1: GLib.get_system_config_dirs() now returns a list
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
2920f83065
gst1: Replace decodebin2 with decodebin
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
63750d28fb
gst1: Replace playbin2 with playbin
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
c8ad7e3a41
gst1: Replace Caps() with Caps.from_string()
...
And audio/x-raw-int and audio/x-raw-float with audio/x-raw
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
aa3650bf34
gst1: Update query_new_duration()
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
6c59205efe
gst1: Replace 'struct[x] = y' with 'struct.set_value(x, y)'
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
01bf8b773f
gst1: Replace buffer.timestamp with buffer.pts
2016-01-31 21:07:15 +01:00
Stein Magnus Jodal
1cf450940a
gst1: Replace get_pad() with get_static_pad()
2016-01-31 21:07:15 +01:00