Alexander Saprykin
936f524ee5
gstchecks: Add unit test for the GstToc
2012-04-02 21:50:55 +02:00
Alexander Saprykin
3f30c73443
Add new GstTocSetter interface
2012-04-02 21:50:55 +02:00
Alexander Saprykin
6e65daa4d1
Add new TOC query
2012-04-02 21:50:55 +02:00
Alexander Saprykin
03d0f569b3
Add new TOC message
2012-04-02 21:50:55 +02:00
Alexander Saprykin
c3f97992c4
Add new TOC and TOC select events
2012-04-02 21:50:55 +02:00
Alexander Saprykin
1f7096b52a
Add generic table of contents (TOC) support
2012-04-02 21:50:55 +02:00
Stefan Sauer
1074a4e99a
Merge branch '0.10'
...
Conflicts:
docs/gst/gstreamer-sections.txt
gst/Makefile.am
gst/gst.c
gst/gst.h
gst/gstevent.c
gst/gstevent.h
gst/gstmessage.h
gst/gstquark.c
gst/gstquark.h
gst/gstquery.c
gst/gstquery.h
tests/check/Makefile.am
2012-04-02 21:33:10 +02:00
Sebastian Dröge
3601e80e83
Merge remote-tracking branch 'origin/0.10'
...
Conflicts:
libs/gst/base/gstbaseparse.c
2012-04-02 15:30:04 +02:00
Edward Hervey
98e1463411
baseparse: always attempt to push if not-linked
...
This avoids ending up with plenty of pending data (since we'll only
try to parse/push one frame from the incoming buffer).
Fixes increasing memory consumption when parsers aren't linked
Conflicts:
libs/gst/base/gstbaseparse.c
2012-04-02 15:27:14 +02:00
Edward Hervey
df6d0b0696
baseparse: always attempt to push if not-linked
...
This avoids ending up with plenty of pending data (since we'll only
try to parse/push one frame from the incoming buffer).
Fixes increasing memory consumption when parsers aren't linked
2012-04-02 15:17:25 +02:00
Руслан Ижбулатов
f140cb8dbd
Timeout is not used on W32
...
Fixes #673267
2012-04-02 11:24:26 +02:00
Wim Taymans
a3d5db491c
trans: add transform_ip_on_passthrough
...
Add an option to control if transform_ip is called in passthrough mode or not.
for elements that don't want to look at the data in passthrough mode, this can
avoid some extra processing, mostly in subclasses.
2012-04-02 11:09:50 +02:00
Stefan Sauer
ea9cc8c871
gst-launch: add -c, --toc to print the toc
...
Print the nested chapter and edition structure of the chapters message.
2012-04-02 10:49:38 +02:00
Alexander Saprykin
7d88015650
docs: add overview of GstToc usage
2012-04-02 10:49:38 +02:00
Alexander Saprykin
dbe9901511
docs: Add GstToc and GstTocSetter sections with related functions
2012-04-02 10:49:38 +02:00
Alexander Saprykin
9b80982c53
gstchecks: Add unit test for the GstTocSetter
2012-04-02 10:49:38 +02:00
Alexander Saprykin
7fd9bb5cd2
gstchecks: Add unit test for the GstToc
2012-04-02 10:49:38 +02:00
Alexander Saprykin
566025b993
Add new GstTocSetter interface
2012-04-02 10:49:38 +02:00
Alexander Saprykin
105330784c
Add new TOC query
2012-04-02 10:49:38 +02:00
Alexander Saprykin
af85bd8dbf
Add new TOC message
2012-04-02 10:49:38 +02:00
Alexander Saprykin
2cb82d42fb
Add new TOC and TOC select events
2012-04-02 10:49:38 +02:00
Alexander Saprykin
63256d271d
Add generic table of contents (TOC) support
2012-04-02 10:49:38 +02:00
Wim Taymans
f3aad8b430
buffer: reuse more code
2012-04-01 12:02:40 +02:00
Wim Taymans
0e9241cfc6
buffer: make function to find memory in a buffer
...
Make a function to find the memory blocks for a region in a buffer.
2012-04-01 12:02:40 +02:00
Stefan Sauer
7f628113e4
childproxy: fix more missing GST_OBJECT -> G_OBJECT use
2012-03-31 21:26:56 +02:00
Wim Taymans
d89719a4b3
adapter: use buffer_wrap
2012-03-31 18:34:23 +02:00
Wim Taymans
113b9dc535
buffer: add peek_memory method
...
Add a peerk_memory method that simply fetches the memory at an offset without
refcounting or merging.
2012-03-31 17:10:35 +02:00
Wim Taymans
3db0ce476f
grammar.y: fix childproxy code
...
It takes GObject and not GstObject now
2012-03-31 12:00:56 +02:00
Stefan Sauer
e7b9b68361
childproxy: include the child name in the signal
2012-03-30 22:46:02 +02:00
Stefan Sauer
d93c5c5fd0
parser: update for childproxy api changes
2012-03-30 22:45:04 +02:00
Stefan Sauer
e96c312847
childproxy: fix signal parameter types
2012-03-30 22:36:35 +02:00
Stefan Sauer
f35267bb92
childproxy: use GObject instead of GstObject
...
This makes it prossible to be used more widely. Fix implementations for the API
change.
2012-03-30 22:24:26 +02:00
Stefan Sauer
ef48cff3d0
childproxy: make get_child_by_name virtual
...
Allows implementations to use custom name->object mappings.
2012-03-30 22:13:51 +02:00
Stefan Sauer
bd625b8152
childproxy: fix indentation
2012-03-30 22:01:26 +02:00
Wim Taymans
38b96e6c8c
buffer: improve the buffer memory methods
...
gst_buffer_take_memory -> gst_buffer_insert_memory because insert is what the
method does.
Make all methods deal with ranges so that we can replace, merge, remove and map
a certain subset of the memory in a buffer. With the new methods we can make
some code nicer and reuse more code. Being able to deal with a subset of the
buffer memory allows us to optimize more cases later (most notably RTP headers
and payload that could be in different memory objects).
Make some more convenient macros that call the more generic range methods.
2012-03-30 18:15:24 +02:00
Mark Nauwelaerts
bcb98f409b
typefindelement: plug caps leaks
2012-03-30 16:53:09 +02:00
Mark Nauwelaerts
a0649dd357
typefindhelper: also unmap collected mapped buffers
2012-03-30 16:53:05 +02:00
Mark Nauwelaerts
096d36e5c5
basetransform: plug caps leak
2012-03-30 16:53:00 +02:00
Sebastian Dröge
eadebb172d
baseparse: Rename ::event() to ::sink_event() for consistency
2012-03-30 12:03:40 +02:00
Edward Hervey
00feec6068
basesink: lower GST_BASE_SRC_FLAG_LAST
...
It wouldn't leave that much room for subclass users
2012-03-30 11:49:16 +02:00
Edward Hervey
5e554fde91
win32: Update defs file
2012-03-30 08:55:33 +02:00
Sebastian Dröge
4bffd22394
bytewriter: Actually commit the .c file changes too
2012-03-29 18:03:35 +02:00
Sebastian Dröge
d4dcb87c69
bytewriter: Add unchecked/inline variant of gst_byte_writer_put_buffer()
2012-03-29 18:01:11 +02:00
Edward Hervey
16bf133566
gstquery: Fix annotation
2012-03-29 17:53:47 +02:00
Edward Hervey
2bdd71a710
queue: Flush the internal queue when we see GST_FLOW_FLUSHING
...
Ensures that we don't end up with stale contents (like GstQuery) in
the internal GQueue after any blocking upstream thread returns.
2012-03-29 17:46:35 +02:00
Edward Hervey
c36748177f
queue: Don't unref GstQuery travelling through the queue
...
Unlike events and buffers, the reference is not given to us
2012-03-29 17:46:35 +02:00
Mark Nauwelaerts
617a8b3811
query: parsing allocation query need not provide reffed caps
...
... in line with other query parsing function.
2012-03-29 17:08:57 +02:00
Fabrizio (Misto) Milo
31c450a5d5
caps: spelling fixes
2012-03-29 15:46:15 +02:00
Edward Hervey
2d95de113e
gstelement: lower GST_ELEMENT_FLAG_LAST
...
It wouldn't leave that much room for subclass users
2012-03-29 15:28:44 +02:00
Edward Hervey
31ca9f9216
gstbuffer: Fix unitialized variable
...
gcc 4.5 complains otherwise :(
2012-03-29 15:18:33 +02:00