Commit graph

492 commits

Author SHA1 Message Date
Tim-Philipp Müller b203753ed6 docs: mention codec data / stream header change in porting docs 2012-01-28 18:09:00 +00:00
Tim-Philipp Müller 1654b7f1d7 Use GLib's type for GError instead of our own
We introduced our own when GLib didn't want to add a GType
for GError. But now that there is one, we can use GLib's
unconditionally and remove our version.
2012-01-22 15:16:14 +00:00
Tim-Philipp Müller c721d53773 Remove GST_TYPE_DATE, our own GDate type
Which we had to add because GLib didn't have it
back in the day. Port everything to plain old
G_TYPE_DATE, which is also a boxed type. Ideally
we'd just use GDateTime for everything, but it
doesn't support not setting some of the fields
unfortuntely (which would be very useful for
tag handling in general, if we could express
2012-01 for example).

https://bugzilla.gnome.org/show_bug.cgi?id=666351
2012-01-12 20:50:53 +00:00
Tim-Philipp Müller ed80a5cd4b registry: rename gst_registry_get_default() to gst_registry_get()
It's not really a default if there is only one that can't be changed.

Should we return a ref like e.g. g_volume_monitor_get() does?
2012-01-02 02:22:51 +00:00
Stefan Sauer 39d6b7462f controller: move GValue handling from control-sources to -binding
ControlSources are now gdouble based. A control source is mapped to a
particullar GObject property using a ControlBinding.
2011-12-25 20:48:14 +01:00
Thiago Santos e5e4fbeb03 porting: update porting-to-0.11
Update gst_pad_get_caps -> gst_pad_query_caps change
2011-12-24 15:04:47 -03:00
Stefan Sauer 503b739b23 controller: cleanup interpolation modes
Remove deprecated/unimplemented modes. Turn interpolation mode into a gobject
property. Update docs and examples.
2011-12-19 23:36:26 +01:00
Stefan Sauer 2c7a8b924a controlsources: refactor interpolation control source
Move most of the code to a GstTimedValueControlSource. Split out the trigger
'interpolation mode' to a new control source class. Move tests and examples to
new api. Update docs.

Fixes #610338
2011-12-19 22:52:30 +01:00
Stefan Sauer 4b29d4f29a controller: remove GstValueArray
Instead pass the values as arguments. This simplifies that code and helps
bindings.
2011-12-06 08:35:57 +01:00
Stefan Sauer 4783251b2e controller: remove gst_object_get_value_arrays
One can easilly loop over the controlled properties manually. This is step 1 in
removing GstValueArray.
2011-12-06 08:35:10 +01:00
Stefan Sauer 35b76f43fa docs: update porting docs. 2011-11-25 23:15:23 +01:00
Wim Taymans 12d5f03453 pad: fix scheduling mode enums
GstPadActivateMode -> GstPadMode
GST_PAD_ACTIVATE_* -> GST_PAD_MODE_*
2011-11-18 12:39:55 +01:00
Wim Taymans 54e1174060 GstPadFlags: rename flags GST_PAD_* -> GST_PAD_FLAG_* 2011-11-16 12:36:51 +01:00
Wim Taymans 1fcd85308a update porting doc 2011-11-16 10:16:55 +01:00
Stefan Sauer faf31366ab controller: remove functions to add/remove controlled properties
Make that implizit with attaching/detaching controlsources. This is a lot easier
and has less invalid state (controlled property without control source).
2011-11-14 10:02:55 +01:00
Tim-Philipp Müller 682704750c urihandler: pass GError argument to gst_uri_handler_set_uri()
Also let gst_uri_handler_set_uri check already if the protocol
is supported, so that not every uri handler has to do that
itself.
2011-11-13 18:04:55 +00:00
Stefan Sauer a1599f5f7e controller: merge controller into gstobject
This make the controller even more lightweight (no extra object, no extra lock,
less indirections). For object that don't use the controller the only 'overhead'
is a 3 unused fields in the gst_object structure.
2011-11-10 22:47:07 +02:00
Wim Taymans 9fa3f31b60 porting: update doc 2011-11-10 11:12:36 +01:00
Wim Taymans 280005db69 porting: update porting doc 2011-11-09 12:02:12 +01:00
Stefan Sauer ea71090002 docs: mention more api changes in the porting guide 2011-11-07 12:33:45 +01:00
Stefan Sauer 0f123cba23 docs: small clarification 2011-11-04 20:11:50 +01:00
Wim Taymans 6c627481b3 utils: remove _found_tags_ API
remove gst_element_found_tags() and gst_element_found_tags_for_pad(), they are
nothing more than a wrapper around gst_pad_push_event()
2011-11-02 12:06:47 +01:00
Wim Taymans d9dc9f9d52 task: api cleanup
gst_task_create() -> gst_task_new()
2011-11-02 08:59:44 +01:00
Wim Taymans e4725d9df2 structure: cleanup API
gst_structure_empty_new() -> gst_structure_new_empty()
  gst_structure_id_empty_new() -> gst_structure_new_id_empty()
  gst_structure_id_new() -> gst_structure_new_id()
2011-11-02 08:59:44 +01:00
Wim Taymans 88e12228cf bufferlist: clean up API
gst_buffer_list_len() -> gst_buffer_list_length()
gst_buffer_list_sized_new() -> gst_buffer_list_new_sized()
2011-11-02 08:59:43 +01:00
Tim-Philipp Müller 2e29d8fc06 docs: mention GstActivateMode rename in porting doc 2011-11-01 10:57:34 +00:00
Tim-Philipp Müller bffc9207b5 pad: rename GstProbeType and GstProbeReturn to GstPadProbe{Type,Return}
Better now than later in the cycle. These might come in handy:

sed -i -e 's/GstProbeReturn/GstPadProbeReturn/g'   `git grep GstProbeReturn  | sed -e 's/:.*//' | sort -u`
sed -i -e 's/GST_PROBE_/GST_PAD_PROBE_/g'          `git grep GST_PROBE_      | sed -e 's/:.*//' | sort -u`
sed -i -e 's/GstProbeType/GstPadProbeType/g'       `git grep GstProbeType    | sed -e 's/:.*//' | sort -u`
2011-11-01 00:15:17 +00:00
Tim-Philipp Müller 4e7944b0b9 taglist: rename _new() to _new_empty() and new_full*() to new*() 2011-10-30 22:24:25 +00:00
Wim Taymans 8f9a330156 porting: update 2011-10-28 12:31:03 +02:00
Stefan Sauer ea030c9452 docs: spelling and formatting fixes 2011-10-21 11:21:17 +02:00
Wim Taymans 2c64c53cd2 porting: update 2011-10-16 17:42:22 +02:00
Wim Taymans 83b24d8430 porting: update 2011-10-16 17:03:27 +02:00
Wim Taymans a490fbd5e6 porting: update porting list 2011-10-16 17:00:09 +02:00
Edward Hervey 1cb205b30f porting: update 2011-10-10 17:17:37 +02:00
Wim Taymans 5a236e5e29 porting: update 2011-10-10 13:23:09 +02:00
Wim Taymans 4fb79f1d21 porting: update 2011-10-10 12:54:54 +02:00
Wim Taymans 3bb8bce133 porting: update 2011-10-10 12:38:35 +02:00
Wim Taymans fa57e310fd porting: update 2011-10-10 12:27:52 +02:00
Wim Taymans 01cddb5580 porting: update 2011-10-10 11:49:46 +02:00
Wim Taymans ea012d3dd7 pad: GST_FLOW_UNEXPECTED -> GST_FLOW_EOS 2011-10-10 11:33:51 +02:00
Wim Taymans 756409b813 porting: update 2011-10-10 11:30:21 +02:00
Wim Taymans 8bab8b1e2b porting: update doc 2011-10-08 15:16:59 +02:00
Wim Taymans 2616401232 porting: update 2011-10-08 14:23:30 +02:00
Wim Taymans be6ef190b3 porting: upate porting list 2011-10-08 12:08:49 +02:00
Wim Taymans 93289c2a02 porting: update list 2011-10-06 17:26:02 +02:00
Wim Taymans e99df2b96f porting: update list 2011-10-06 14:04:05 +02:00
Wim Taymans ae15e9af3f update porting list 2011-10-06 11:03:05 +02:00
Wim Taymans ea8b0e899e porting: update list 2011-10-05 20:06:51 +02:00
Wim Taymans ce025b9fab porting: update porting status 2011-10-05 13:47:10 +02:00
Wim Taymans 738e421936 update porting list 2011-10-04 18:55:20 +02:00