Commit graph

642 commits

Author SHA1 Message Date
Tim-Philipp Müller
6b5282f5f4 Add gst-0.10.36.ignore file
So things still compile with older versions of GStreamer.
2011-12-09 17:22:31 +00:00
Stefan Sauer
574275e773 preset: expose new gst.preset_{set,get}_app_dir() on python 2011-12-09 14:13:11 +01:00
Alessandro Decina
ba5a02b86c video: wrap force key unit API 2011-12-08 09:21:09 +01:00
Stefan Sauer
fe71622a66 uri: add filename_to_uri to bindings 2011-10-31 10:48:29 +01:00
Tim-Philipp Müller
b769a83fb4 Don't install common.h and remove from public headers
Doesn't seem to be needed anyway. Also remove duplicate
pygobject.h include in common.h while at it.

https://bugzilla.gnome.org/show_bug.cgi?id=657435
2011-10-11 23:33:21 +01:00
Tim-Philipp Müller
bf9deb812b Install headers into $includedir/gstreamer-0.10/gst not .../pygst/
This matches the directory layout in the source tree and makes it
possible to find the headers (e.g. from g-e-s) in an uninstalled
setup.

https://bugzilla.gnome.org/show_bug.cgi?id=657435
2011-10-11 22:59:05 +01:00
Tim-Philipp Müller
96828015e9 Keep pygst-private.h in noinst_HEADERS
Makes sure it gets disted.
2011-10-11 22:57:30 +01:00
Tim-Philipp Müller
0cf2ebe486 caps.override: fix compiler warning
Re-use the already-extracted caps and structure pointers, instead
of getting them again, thus fixing:
gstcaps.override: In function 'pygst_caps_sq_item':
gstcaps.override:361:16: error: variable 'structure' set but not used
2011-09-06 19:13:44 +01:00
Tim-Philipp Müller
f2aee621a4 pad.override: fix pad probe return value handling
Don't forget to return the return value, makes buffer and event probes
work much better.
2011-09-06 19:07:35 +01:00
Thibault Saunier
94491ae535 Install pygst.h so it can be reused by other bindings
Also add a PYGST_CFLAGS

https://bugzilla.gnome.org/show_bug.cgi?id=656289
2011-08-10 18:10:01 +02:00
Thibault Saunier
3b602c1404 gst: Move PyGstMiniObject to public API.
Allows it to be reused from 3rd party modules.

https://bugzilla.gnome.org/show_bug.cgi?id=656289
2011-08-10 18:09:28 +02:00
Sebastian Dröge
fe9d91f321 gst: Don't use private GstPad API to add data/buffer/event probes
This does not work anymore with latest core because of the
pad cache that enables use of a fast path during data passing
in many situations.

Fixes bug #650987.
2011-05-25 09:38:22 +02:00
Andoni Morales Alastruey
d4eb9e9bf9 gst: Fix override of pad probes
Fixes bug #650986.
2011-05-25 09:06:34 +02:00
Thiago Santos
e401c49911 pbutils: Encoding profiles accept null caps restrictions
Add 'null-ok' for encoding video/audio profiles constructor
so they accept None as caps restriction parameter
2011-05-03 09:37:36 -03:00
Thiago Santos
501515522f gstmodule: Check for Py_None when setting a miniobject
Check if we got a None value before trying to use it as a
PyGstMiniObject.

https://bugzilla.gnome.org/show_bug.cgi?id=649227
2011-05-02 17:05:27 -03:00
Tim-Philipp Müller
4514c29b9a gst-0.10.31.ignore: fix build against core 0.10.30 2011-02-09 09:40:17 +00:00
Edward Hervey
7672946935 pbutils: Specify which string variables can be NULL
Without this you can't pass None to the various methods/constructors
2011-02-06 12:08:14 +01:00
Tim-Philipp Müller
fac013c033 gstmodule: remove unused label to fix compiler warning
gstmodule.c: In function 'pygst_fraction_to_value':
gstmodule.c:129:1: error: label 'out' defined but not used

https://bugzilla.gnome.org/show_bug.cgi?id=640837
2011-01-28 16:59:11 +00:00
Edward Hervey
2f79198599 gstmodule: Add tags introduced in 0.10.31
Fixes #639632
2011-01-16 14:58:37 +01:00
Edward Hervey
dfb6a5b099 gstmodule: Use a macro to register tags
Avoids human error when registering them (like USER_RATING previously
being TRACK_PEAK).
2011-01-16 14:55:26 +01:00
Edward Hervey
fd4deb7664 pbutils: Fix discoverer miniobject methods
They were declared as functions and not methods :(
2011-01-07 21:52:03 +01:00
Edward Hervey
7996f97df8 pbutils: Add overrides for new API 2011-01-07 17:17:05 +01:00
Edward Hervey
5ab5335514 encoding: encoding_profile_get_output_caps => _get_input_caps 2011-01-05 22:18:46 +01:00
Edward Hervey
8e82bc4187 gst: update for latest API addition 2011-01-05 21:28:12 +01:00
Edward Hervey
59dc6032b4 pbutils: Update .defs for latest addition 2011-01-05 21:28:05 +01:00
Edward Hervey
0ef52abad4 gst: Update to 0.10.32 core/base API 2011-01-05 15:05:02 +01:00
Edward Hervey
28fca28378 arg-types: Properly handle const-GstCaps* return values 2011-01-05 15:05:02 +01:00
Alessandro Decina
a1584d04c5 Fix distcheck some more.
In testsuite/common.py look for gst/__init__.py in builddir now.
Clean gst/__init__.pyc after make check.
2010-11-22 14:18:05 +01:00
Alessandro Decina
cac4f31f1a Fix distcheck.
Before this change gst/__init__.py wasn't being copied to
$(top_builddir)/gst/, making make check fail to import gst.
2010-11-22 13:41:17 +01:00
Thiago Santos
67495d15f8 gst: updating datetime functions
Updating datetime _from_unix functions for the new 2 variants (utc/local)

https://bugzilla.gnome.org/show_bug.cgi?id=635031
2010-11-17 09:59:29 -03:00
Edward Hervey
4af2afe2c6 pbutils: Check that pygst_init() succeeded 2010-11-09 11:04:13 +01:00
Edward Hervey
ab46967800 gst: run gst-indent all C files
We hadn't done it since the switch to git... whoops
2010-11-09 11:02:44 +01:00
Edward Hervey
ee647847f3 pygst: Get the _PyGst_API symbol from the proper module
https://bugzilla.gnome.org/show_bug.cgi?id=634365
2010-11-09 11:01:11 +01:00
Edward Hervey
be08aac982 pbutils: Update for latest API change in gstdiscoverer 2010-11-08 19:01:50 +01:00
Tim-Philipp Müller
366f1650a5 pbutils: update for discoverer API changes in last gst-plugins-base pre-release
https://bugzilla.gnome.org/show_bug.cgi?id=633311
2010-10-30 16:22:59 +01:00
Edward Hervey
48a2737b0e pbutils: Overrides for GstDiscoverer API 2010-10-22 13:28:03 +02:00
Edward Hervey
79b851ff26 gst: Register new GST_ELEMENT_FACTORY_LIST_TYPE constants 2010-10-22 13:27:33 +02:00
Edward Hervey
dea61b1c5f gst: Add override for new qos messages 2010-10-22 13:27:02 +02:00
Edward Hervey
44767148ba gst: Add override for gst_event_parse_sink_message 2010-10-22 13:26:44 +02:00
Edward Hervey
32feb729d4 gst: Add overrides for new GstElementFactoryList functions 2010-10-22 13:26:21 +02:00
Edward Hervey
f611419015 arg-types: GstElementFactoryListType is a guint64 2010-10-22 13:25:45 +02:00
Edward Hervey
5e0b6ccc8e gst: Add GstDateTime as a boxed 2010-10-22 13:25:22 +02:00
Edward Hervey
0238e12e01 gst: Make all libraries use shared PyGst_API
Fixes #590348
2010-10-18 12:01:02 +02:00
Edward Hervey
3e73bfc4b2 gst: Export some pygst API to be used by external modules
Partially fixes #590348
2010-10-18 12:01:02 +02:00
Edward Hervey
eb8869dce1 gst: Bump required core/base to 0.10.20
And clean up code accordingly
2010-10-18 12:01:02 +02:00
Edward Hervey
642fed71da gst: Update to latest 0.10.31 core/base API 2010-10-18 12:00:57 +02:00
Leo Singer
84f6e26768 gst: add bindings for more gst.util_uint64_scale_* 2010-08-27 12:43:59 +02:00
Alessandro Decina
dc6b4f7a0a gst.Structure: raise TypeError when assigning None to a key 2010-08-06 23:18:02 +02:00
Alessandro Decina
e20157bda2 gst: implement getters and setters for GST_TYPE_FRACTION properties. Fixes #624882. 2010-07-26 19:42:34 +02:00
Alessandro Decina
56a725879d gst.GhostPad: allow set_target(None) to unset the target. Fixes #590735. 2010-07-14 12:35:35 +02:00