Wim Taymans
3a29d34923
miniobject: fix whitespace
2011-02-28 10:05:38 +01:00
Wim Taymans
f5d1dcbd9a
tests: add memory unit test
2011-02-28 09:39:44 +01:00
Wim Taymans
cb86bf99bc
meta: simplify a bit
2011-02-27 20:54:58 +01:00
Wim Taymans
362a724cfb
meta: add default memory metadata
...
Add a metadata implementation for normall malloced memory.
2011-02-27 20:42:15 +01:00
Wim Taymans
58060d7528
meta: separate add and get methods
...
Make separate api for getting and adding metadata. This allows us to pass extra
parameters to the init functions when creating metadata, which is needed for
specific API implementations.
Add beginnings of memory metadata.
2011-02-27 19:40:45 +01:00
Wim Taymans
0969106993
docs: update docs and defs
2011-02-27 12:21:32 +01:00
Wim Taymans
9a3f158c73
buffer: remove useless method
...
Remove the method to retrieve metadata by api. One will always use the
GstMetaInfo to get metadata.
2011-02-26 18:14:36 +01:00
Wim Taymans
23aa5508f3
buffer: remove owner_priv now that we have metadata
...
Now that we have metadata we can remove the owner_priv field.
2011-02-25 16:31:11 +01:00
Wim Taymans
0210890840
defs: fix defs
2011-02-25 13:23:19 +01:00
Wim Taymans
6f4a733063
metadata: Rename to GstMeta
...
Rename to the shorter GstMeta
Add docs
Add api to get metadata by API
2011-02-25 13:15:25 +01:00
Wim Taymans
d7b989bf40
defs: fix defs
2011-02-25 10:37:07 +01:00
Philippe Normand
376089db14
buffer: fix memory corruption
2011-02-25 10:34:52 +01:00
Wim Taymans
45645a11a1
buffermeta: fix compilation
2011-02-25 10:34:52 +01:00
Wim Taymans
8e4ab802f9
updates
2011-02-25 10:34:52 +01:00
Wim Taymans
023cada1f4
meta: improve test a little
2011-02-25 10:34:52 +01:00
Wim Taymans
8468dadc77
buffermeta: add beginnings of buffer metadata
...
Add first implementation of arbitrary buffer metadata. We use a simple linked
linked of slice allocated metadata chunks. Future implementations could use
something more performant.
Add get, remove, iterate methods to handle the metadata.
2011-02-25 10:34:47 +01:00
Wim Taymans
a27da6a919
design: add api tag
...
We want to find metadata based on the API it implements and based on the
specific implementation.
2011-02-25 10:19:25 +01:00
Tim-Philipp Müller
d3e7981527
uri: make win32 buildbot happy
...
gsturi.c:854:16: error: unused variable 'abs_clean'
gsturi.c:788:1: error: 'gst_file_utils_canonicalise_path' defined but not used
2011-02-24 17:12:00 +00:00
Tim-Philipp Müller
1f59906ec1
filesrc, filesink: fix URI creation regression for non-absolute locations
...
Passing e.g. location=foo would lead to warnings because g_filename_to_uri()
wants an absolute file path and returns NULL otherwise. Use brand-new
gst_filename_to_uri() instead, which will try harder to create a proper
URI for us.
Also add unit test.
2011-02-24 15:36:53 +00:00
Tim-Philipp Müller
27027a2dd2
uri: add gst_filename_to_uri() that takes relative filenames
...
Add function that (unlike the GLib equivalent) also accepts paths that
aren't absolute and will clean up relative markers such as ./ and ../
before forming a URI.
Fixes warnings with e.g. filesrc location=foo ! typefind caused by the
recent switch to g_filename_to_uri(), but also actually creates valid
URIs for the first time.
Windows code paths could need some more work, e.g. we don't clean up
the relative markers there for now (because path could have \ and /
as separators).
API: gst_filename_to_uri()
2011-02-24 15:36:52 +00:00
Stefan Kost
b3f0d98964
tests: refix the tests (missing #endif)
2011-02-24 16:20:01 +02:00
Stefan Kost
b30e516d3e
Makefile.am: add new abi headers to nodist_HEADERS
2011-02-24 16:11:17 +02:00
Stefan Kost
88cda98939
gst-launch: add index support
...
When option "-i" is given, set an index object on the pipeline and compute
statistics for all index writers. Print a sumary when shutting down the
pipeline.
2011-02-24 15:36:47 +02:00
Stefan Kost
3cb1180ff4
tests: add abi check data for ARM (libs)
2011-02-24 15:12:57 +02:00
Stefan Kost
98a50e3b82
tests: add abi check data for ARM
2011-02-24 15:03:03 +02:00
Wim Taymans
39d486e526
buffer: add owner private as intermediate solution
...
Add an owner private field where the owner of a buffer can store some extra
information. We can use this to implement most of the subclassing that happens
now. Later this will be removed and replaced by arbitrary buffer metadata.
2011-02-24 13:55:35 +01:00
Wim Taymans
7e769a32b8
caps: remove poisoning
2011-02-24 10:28:20 +01:00
Wim Taymans
b108e3b999
miniobject: cleanups
...
Use the stored size in the miniobject to free the miniobject.
Refactor some init methods.
2011-02-23 16:48:00 +01:00
Wim Taymans
3169e8414b
docs: update porting guide
2011-02-23 15:43:49 +01:00
Wim Taymans
2e8d1620ef
docs: update porting guide
2011-02-23 12:54:21 +01:00
Wim Taymans
97be4713ea
caps: warn when make_writable result is ignored
2011-02-23 12:44:54 +01:00
Wim Taymans
bd028a7524
defs: fix defs
2011-02-23 12:08:03 +01:00
Wim Taymans
f78ceed43a
gst: fix type registration
...
We need to have the types of the miniobjects before registering the
tranforms.
2011-02-23 12:01:55 +01:00
Wim Taymans
293ddfc5aa
elementfactory: improve caps string management
2011-02-23 12:01:16 +01:00
Wim Taymans
be21f9cf42
miniobject: clear flags in init
2011-02-23 12:00:42 +01:00
Stefan Kost
9558a05cc2
docs: tell that ORC_CODE can contain a list of flags
2011-02-23 12:35:58 +02:00
Wim Taymans
fd59a2cead
miniobject: fix flags
2011-02-23 10:35:36 +01:00
Wim Taymans
43b8ade170
fix compilation after rebase
2011-02-23 10:35:36 +01:00
Wim Taymans
70be8d8d95
improve type registration
2011-02-23 10:35:36 +01:00
Wim Taymans
cdde34f0ee
fix compilation
2011-02-23 10:35:36 +01:00
Wim Taymans
b82a0f5050
fix macros
2011-02-23 10:35:36 +01:00
Wim Taymans
509abb2162
pad: set boxed type correctly
2011-02-23 10:35:36 +01:00
Wim Taymans
d62ca7c063
miniobject: small fixes
...
Make dataflow happen.
2011-02-23 10:35:22 +01:00
Wim Taymans
6c18c9508d
miniobject: more boxed type fixing
...
More miniobject fixing, leaks horribly somewhere..
2011-02-23 10:35:09 +01:00
Wim Taymans
317af67bc4
miniobject: make queries a boxed type
...
More minionject stuff.
2011-02-23 10:34:45 +01:00
Wim Taymans
56a3364183
messages: make message a simple boxed type
2011-02-23 10:34:27 +01:00
Wim Taymans
fda9686b35
miniobject: work on making caps a boxed type
...
More work on making miniobject a simple allocated struct.
2011-02-23 10:34:08 +01:00
Wim Taymans
086aac764d
miniobject: make miniobject a boxed type
...
First attempt at making miniobject a simple boxed type.
2011-02-23 10:33:44 +01:00
Wim Taymans
1218511185
libs: cleanups for 0.11
...
Remove deprecated stuff, fix padding, rearrange methods.
2011-02-22 19:09:48 +01:00
Wim Taymans
5dd9ab1cab
cleanups
...
Fix padding, remove deprecated symbols.
2011-02-22 16:04:12 +01:00