Sebastian Dröge
7cb22ef241
videodecoder: Add negotiate vfunc that is used to negotiate with downstream
...
The default implementation negotiates a buffer pool and allocator
with downstream.
2012-08-09 14:47:46 +02:00
Tim-Philipp Müller
5adc87c6bd
tests: fix vorbisdec test
...
There won't be a tag messages on the bus, because tags
are now sent downstream for sinks to post on the bus,
and there's no sink involved here that would do that.
Secondly, the audio decoder base class only sends the
tags out once it has received some non-header data as
input, which is not something we're providing here.
2012-08-09 00:54:30 +01:00
Sebastian Dröge
7bdcb12b41
gst: Set alignment at the correct place of GstAllocationParams
2012-08-08 17:41:19 +02:00
Andoni Morales Alastruey
15c712c7c6
oggdemux: add proper cast for print
2012-08-08 17:41:19 +02:00
Andoni Morales Alastruey
d8326a8eda
videoencoder: add proper format for gsize
2012-08-08 17:41:19 +02:00
Andoni Morales Alastruey
d2aebc7f94
rtpbuffer: use proper format for gsize
2012-08-08 17:41:19 +02:00
Sebastian Dröge
98983e08ae
videoencoder: Always propose a video buffer pool when the subclass didn't provide one
...
And also request 16-byte aligned buffers if the subclass didn't
set anything else.
2012-08-08 17:41:19 +02:00
Tim-Philipp Müller
b158029caf
Back to development
2012-08-08 16:21:22 +01:00
Tim-Philipp Müller
b61c7fb9c3
Release 0.11.93
2012-08-08 15:12:56 +01:00
Sreerenj Balachandran
fe08923628
videoconvert: fix example pipeline in docs
...
There is no more 'fourcc' typecast for format.
https://bugzilla.gnome.org/show_bug.cgi?id=681436
2012-08-08 11:21:51 +01:00
Sebastian Dröge
8b916da6d7
videofilter: Really add a buffer pool if none was provided
...
And also use the allocation parameters from the query if any
and if there are none set our own (16-byte alignment) on the
query.
2012-08-08 12:19:31 +02:00
Sreerenj Balachandran
8707546345
videofilter: Fix the crash in propose_allocation
...
Always set a buffer pool if none is provided and don't
set/unref a NULL buffer pool on the query.
https://bugzilla.gnome.org/show_bug.cgi?id=681436
2012-08-08 12:03:05 +02:00
Tim-Philipp Müller
fc37cf5779
Silence some 'variable may be used uninitialized' compiler warnings
...
when compiling with -DG_DISABLE_ASSERT
2012-08-08 10:19:20 +01:00
Tim-Philipp Müller
17c839c8a1
No statements with side-effects in g_assert() or g_return_*() please
2012-08-08 10:11:48 +01:00
Tim-Philipp Müller
6422f2d085
Update .gitignore
2012-08-08 09:06:30 +01:00
Olivier Crête
e24196ae28
theoradec: Drop ignored headers
...
Instead of finishing an empty frame, call drop_frame as we're
ignoring the header frame.
2012-08-07 13:58:58 -07:00
Руслан Ижбулатов
f885829730
docs: Add proper libraries to GST_LIBS instead (-base)
2012-08-07 10:41:32 +02:00
Руслан Ижбулатов
8f33ad80d0
discoverer: Add source-setup signal for GstDiscoverer
...
https://bugzilla.gnome.org/show_bug.cgi?id=681260
2012-08-06 14:42:25 +02:00
Sebastian Dröge
880b9a20a6
tagdemux: Add stream-id to stream-start event
2012-08-06 14:01:28 +02:00
Sebastian Dröge
e25a861ed6
oggdemux: Add stream-id to the stream-start event
2012-08-06 14:01:28 +02:00
Tim-Philipp Müller
910e497421
tests: remove custom tcase_skip_broken_test define which is now in core
2012-08-05 17:25:59 +01:00
Tim-Philipp Müller
d4f582edd6
tests: silence FIXMEs when running videoscale unit test
2012-08-05 17:21:31 +01:00
Tim-Philipp Müller
c90fb26fb9
Automatic update of common submodule
...
From 94ccf4c to 668acee
2012-08-05 16:37:55 +01:00
Tim-Philipp Müller
211cc1cf68
video: make sure g-i doesn't parse orc-generated video-orc.h file
...
It's not public API.
2012-08-05 14:40:03 +01:00
Tim-Philipp Müller
284f96765c
pbutils: use generic marshaller for discoverer's "discovered" signal
...
If this change causes build issues, run git clean -x -d -f; ./autogen.sh
2012-08-05 14:06:14 +01:00
Tim-Philipp Müller
452b38560c
encodebin: use generic marshaller for signal
2012-08-05 14:02:01 +01:00
Tim-Philipp Müller
24478261a2
adder: send CAPS event downstream fixing not-negotiated errors
...
Make sure to send a CAPS event downstream when we get our
first input caps. This fixes not-negotiated errors and
adder use with downstream elements other than fakesink.
Even gst-launch-1.0 audiotestsrc ! adder ! pulsesink works now.
Also, flag the other sink pads as FIXED_CAPS when we receive
the first CAPS event on one of the sink pads (in addition to
setting those caps on the the sink pads), so that a caps query
will just return the fixed caps from now on.
There's still a race between other upstreams checking if
caps are accepted and sending a first buffer with possibly
different caps than the first caps we receive on some other
pad, but such is life.
Also need to take into account optional fields better/properly.
https://bugzilla.gnome.org/show_bug.cgi?id=679545
2012-08-05 00:41:10 +01:00
Tim-Philipp Müller
ec13933aaa
tests: add adder test to check that caps are sent downstream
2012-08-04 22:25:08 +01:00
Tim-Philipp Müller
7892e1e22f
videoscale: fix 4-tap scaling for 64-bpp formats
...
Fix invalid memory access caused by broken pointer arithmetic.
If we have a uint16_t *tmpbuf and add n * dest->stride to it, we
skip twice as much as we intended to because dest->stride is in
bytes and not in pixels. This made us write beyond the end of
our allocated temp buffer, and made the unit test crash.
2012-08-04 22:05:21 +01:00
Tim-Philipp Müller
a314325002
videoscale: sprinkle some G_GNUC_INTERNAL
...
Not sure it actually makes any difference for plugins though.
2012-08-04 22:05:20 +01:00
Tim-Philipp Müller
4c6ea69464
videoscale: make 4tap scanline funcs static
2012-08-04 22:05:20 +01:00
Tim-Philipp Müller
07158ff1f2
riff: fix build on big endian systems
2012-08-04 19:33:32 +01:00
Thiago Santos
6d4f94f45e
appsrc: send caps event when the user updates appsrc caps
...
As buffer don't have caps anymore, the caps event needs to be pushed
before buffers are pushed.
2012-08-02 19:00:35 -03:00
Tim-Philipp Müller
36f32d3f93
tag: fix month/day extraction in ID3v2 tags
...
We were passing month/day in the wrong order to
gst_date_time_new_ymd().
2012-08-02 00:23:28 +01:00
René Stadler
39aa4dc674
discoverer: fix discover_uri returning finalized info object
2012-07-31 01:19:36 +02:00
Tim-Philipp Müller
063dc1712e
tag: fix up EXIF writer for GstBuffer -> GstSample
2012-07-28 11:54:38 +01:00
Tim-Philipp Müller
ca31913c04
audiocdsrc: update for TOC API change
2012-07-28 11:13:12 +01:00
Sebastian Dröge
99d73c94e9
tag: Update for taglist/tag event API changes
2012-07-28 00:35:02 +02:00
Wim Taymans
683a38ad65
update for new variable names
2012-07-27 15:24:43 +02:00
Sebastian Dröge
628bc44ca5
streamsynchronizer: Unblock streams on FLUSH_START events
2012-07-27 12:59:20 +02:00
Wim Taymans
7f23e75f3c
videoconvert: small cleanups
...
Make function pointers NULL when nothing needs to be done.
Pass target pixels to dither and matrix functions so that we can later make
them operate on the target buffer memory directly.
2012-07-27 12:19:04 +02:00
Edward Hervey
6423a4027e
video: Make all frame_number guint32
...
Unifies the code and ensures that:
* subclasses needing to use the frame_number on a void* field will
always work
* wraparounds will be automatically taken care of if we have to deal
with more than 2**32 frames
2012-07-26 18:38:42 +02:00
Wim Taymans
40a0624e99
audio-format: fix shift for 18 bits samples
...
The 18bits of the sample are in the LSB so we need to shift them 14 positions to
bring them to 32 bits.
2012-07-26 15:42:38 +02:00
Mark Nauwelaerts
7b135e8810
video{de,en}coder: delay input caps processing until processing data
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680614
2012-07-26 14:35:45 +02:00
Mark Nauwelaerts
c91615bd82
audio{de,en}coder: delay input caps processing until processing data
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=680614
2012-07-26 14:35:30 +02:00
Arnaud Vrac
8ab19ba9ca
video-frame: fix invalid plane id on video frame mapping error
2012-07-26 01:52:25 +02:00
Mark Nauwelaerts
28537dc73c
audioencoder: avoid setting output caps twice
...
... which may not be handled or appreciated well downstream,
e.g. muxers only performing header setup once.
2012-07-25 15:58:19 +02:00
Mark Nauwelaerts
f1c583bde3
vorbisenc: adjust to modified audioencoder getcaps helper API
2012-07-25 15:58:19 +02:00
Mark Nauwelaerts
1f962bc108
audioencoder: also consider filter caps in getcaps
2012-07-25 15:58:19 +02:00
Mark Nauwelaerts
88e73f8515
audioconvert: prefer channels of base caps when fixating
...
... which in turn prefers to preserve input channels when converting.
2012-07-25 15:58:19 +02:00