David Schleef [Mon, 12 Jan 2004 04:15:47 +0000 (04:15 +0000)]
[007/906] * ext/ffmpeg/gstffmpeg.c: * ext/ffmpeg/gstffmpegcodecmap.c: * ext/ffmpeg/gstffmpegdec.c: * ext/ffmpeg/gstffmpegenc.c: * ext/ffmpeg/gstffmpegprotocol.c: * ext/gdk_pixbuf/gstgdkanimation.c: * ext/jpeg/gstjpeg.c: * ext/libpng/gstpng.c: * ext/mpeg2dec/perftest.c: * ext/speex/gstspeex.c: * gst-libs/gst/resample/dtos.c: * gst/intfloat/gstintfloatconvert.c: * gst/oneton/gstoneton.c: * gst/rtjpeg/RTjpeg.c: * gst/rtp/gstrtp.c: * sys/dxr3/dxr3init.c: * sys/glsink/gstgl_nvimage.c: * sys/glsink/gstgl_pdrimage.c: * sys/glsink/gstglsink.c: * testsuite/gst-lint: Make sure everybody wraps #include "config.h" in #ifdef HAVE_CONFIG_H
David Schleef [Mon, 22 Dec 2003 01:47:08 +0000 (01:47 +0000)]
[006/906] Merge CAPS branch
Andy Wingo [Thu, 4 Dec 2003 10:37:36 +0000 (10:37 +0000)]
[005/906] remove copyright field from plugins
Ronald S. Bultje [Fri, 7 Nov 2003 12:46:52 +0000 (12:46 +0000)]
[004/906] Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
madmac [Thu, 6 Nov 2003 00:27:03 +0000 (00:27 +0000)]
[003/906] updates to glsink
madmac [Fri, 31 Oct 2003 16:40:20 +0000 (16:40 +0000)]
[002/906] glsink with correct threading support
madmac [Tue, 28 Oct 2003 18:54:20 +0000 (18:54 +0000)]
[001/906] welcome to glsink for 0.7.x :)
Andoni Morales Alastruey [Fri, 14 Mar 2014 17:23:51 +0000 (18:23 +0100)]
winks: port to 1.0
https://bugzilla.gnome.org/show_bug.cgi?id=702041
Nicolas Dufresne [Sat, 15 Mar 2014 14:17:43 +0000 (15:17 +0100)]
y4mdec: check for VIDEO meta instead of CROP meta
This element only need stride support, but checks for CROP_META, which
is a bit too much, even though this works as CROP imply having VIDEO
meta.
https://bugzilla.gnome.org/show_bug.cgi?id=726255
Stefan Ringel [Tue, 4 Mar 2014 12:19:55 +0000 (13:19 +0100)]
dvbsrc: mpegts: change bandwidth to DVBv5 values
Signed-off-by: Stefan Ringel <linuxtv@stefanringel.de>
https://bugzilla.gnome.org/show_bug.cgi?id=725463
Jesper Larsen [Thu, 31 Oct 2013 13:27:10 +0000 (14:27 +0100)]
examples: ts-parser: Add table_id_name function
https://bugzilla.gnome.org/show_bug.cgi?id=721682
Jesper Larsen [Tue, 19 Nov 2013 10:36:14 +0000 (11:36 +0100)]
examples: ts-parser: Add DVB teletext/subtitling
https://bugzilla.gnome.org/show_bug.cgi?id=721682
Edward Hervey [Mon, 3 Mar 2014 12:07:47 +0000 (13:07 +0100)]
tsdemux: Support Bluray DTS/DTS-HD and AC3+/TrueHD streams
Apart from just adding detection of the proper stream type, we also need to only
output the first substream (0x71) which contains the core substream.
While this does not provide *full* DTS-HD support (since it will miss the complementary
substreams), it will still work in the way legacy (non-DTS-HD) bluray players would work.
https://bugzilla.gnome.org/show_bug.cgi?id=725563
Sebastian Dröge [Thu, 13 Mar 2014 13:41:06 +0000 (14:41 +0100)]
uridownloader: Fix string order in warning message
Sebastian Dröge [Sun, 9 Mar 2014 17:41:28 +0000 (18:41 +0100)]
hlsdemux: Always calculate the current download rate
Also take into account the last download rate when
calculating it.
Aurélien Zanelli [Tue, 11 Mar 2014 09:32:46 +0000 (10:32 +0100)]
sbcenc: Allow user to set channel-mode
Don't return error when channel-mode is already set, just check that it
is coherent with number of channels.
https://bugzilla.gnome.org/show_bug.cgi?id=726098
Sreerenj Balachandran [Mon, 10 Mar 2014 09:19:46 +0000 (11:19 +0200)]
mpegvideoparse: Differentiate the mpeg-2 stream from mpeg-1 based on pic_ext
Presence of picture extension header identifies the stream as mpeg2.
We are supposed to set the mpegversion to 2 if there is a picextension
instead of blindly setting the version to 1
https://bugzilla.gnome.org/show_bug.cgi?id=726028
Stefan Sauer [Tue, 11 Mar 2014 21:36:01 +0000 (22:36 +0100)]
audiomixer: set a group-id on the stream-start event
Set a default group-id to fix a warning printed by the sink.
Mathieu Duponchelle [Mon, 10 Mar 2014 21:48:04 +0000 (22:48 +0100)]
frei0rfilter: fix memory corruption on sink caps changes.
When the input size changed, the frei0r filters didn't take
it into account and ended up corrupting memory.
Fixes #726069
Sebastian Dröge [Tue, 11 Mar 2014 14:30:19 +0000 (15:30 +0100)]
atdec: Add some more debug output
Sebastian Dröge [Tue, 11 Mar 2014 13:47:04 +0000 (14:47 +0100)]
atdec: Implement draining properly
Sebastian Dröge [Tue, 11 Mar 2014 13:37:49 +0000 (14:37 +0100)]
atdec: First dequeue a buffer before enqueueing anything from the queue
Required for offline rendering according to the docs. wtf.
Sebastian Dröge [Tue, 11 Mar 2014 13:32:12 +0000 (14:32 +0100)]
atdec: Keep track of the current position
It's required to set a valid sample time for decoding on iOS.
Sebastian Dröge [Tue, 11 Mar 2014 13:24:59 +0000 (14:24 +0100)]
atdec: Always try to pull one decoded frame out of the queue
... instead of doing magic calculations with the buffer duration.
Sebastian Dröge [Tue, 11 Mar 2014 13:22:57 +0000 (14:22 +0100)]
atdec: Handle errors in handle_frame() properly
Sebastian Dröge [Tue, 11 Mar 2014 13:14:23 +0000 (14:14 +0100)]
atdec: Call AudioQueueReset() for flushing
AudioQueueFlush() is for draining all remaining data.
Sebastian Dröge [Tue, 11 Mar 2014 10:18:22 +0000 (11:18 +0100)]
atdec: Set correct number of frames for MP3
Sebastian Dröge [Tue, 11 Mar 2014 10:18:11 +0000 (11:18 +0100)]
atdec: Initialize the audio description with zeroes
Sebastian Dröge [Tue, 11 Mar 2014 10:14:21 +0000 (11:14 +0100)]
atdec: Set the correct layer depending on the MP3 caps
Wim Taymans [Tue, 11 Mar 2014 09:26:34 +0000 (10:26 +0100)]
configure: videosignal was ported almost a year ago
Sebastian Dröge [Sun, 9 Mar 2014 18:38:39 +0000 (19:38 +0100)]
hlsdemux: Fix comparison in bitrate selection
Matthieu Bouron [Fri, 7 Mar 2014 12:11:59 +0000 (12:11 +0000)]
dvdspu: set proxy allocation flag on the video sink pad
https://bugzilla.gnome.org/show_bug.cgi?id=725893
Sebastian Dröge [Fri, 7 Mar 2014 15:22:50 +0000 (16:22 +0100)]
m3u8: Fix off-by-one in the download range end
Sebastian Dröge [Fri, 7 Mar 2014 15:22:10 +0000 (16:22 +0100)]
uridownload: Handle no buffers before EOS as error instead of crashing
Sebastian Dröge [Thu, 6 Mar 2014 22:14:10 +0000 (23:14 +0100)]
hlsdemux: Implement proper segment handling
https://bugzilla.gnome.org/show_bug.cgi?id=695846
https://bugzilla.gnome.org/show_bug.cgi?id=723268
Sebastian Dröge [Wed, 5 Mar 2014 09:47:01 +0000 (10:47 +0100)]
hlsdemux: Implement handling of byte ranges
Zallesov [Thu, 27 Feb 2014 09:54:10 +0000 (10:54 +0100)]
hlsdemux: Fix seeking further than track duration
Don't fail the seek but instead send an EOS event from the streaming thread.
Sebastian Dröge [Wed, 5 Mar 2014 15:02:16 +0000 (16:02 +0100)]
hlsdemux: Switch playlists after pushing the fragment
Makes sure we properly set the discont flag for the next buffer,
not the current one.
Matthieu Bouron [Fri, 10 Jan 2014 17:38:09 +0000 (17:38 +0000)]
assrender: handle video/x-raw(ANY) if downstream supports the GstVideoOverlayCompositionMeta API
https://bugzilla.gnome.org/show_bug.cgi?id=721950
Andres Gomez [Tue, 4 Mar 2014 15:25:23 +0000 (17:25 +0200)]
wininet: "iradio-mode" property defaults to TRUE
As per discussed in bug #725383, it doesn't make much sense to default
to FALSE in the "iradio-mode" property. Better, let's sent the header
by default and just ignore headers that are not understood, if so.
https://bugzilla.gnome.org/show_bug.cgi?id=725659
Tim-Philipp Müller [Wed, 5 Mar 2014 00:51:04 +0000 (00:51 +0000)]
tests: fix mpg123audiodec test for big-endian architectures
Thijs Vermeir [Wed, 5 Mar 2014 10:20:27 +0000 (11:20 +0100)]
rawparse: increase framerate to maxint
Thijs Vermeir [Wed, 5 Mar 2014 09:54:47 +0000 (10:54 +0100)]
rawparse: increase maximum framerate
Sebastian Rasmussen [Sun, 2 Mar 2014 04:25:48 +0000 (05:25 +0100)]
.gitignore: Ignore gcov intermediate files
https://bugzilla.gnome.org/show_bug.cgi?id=725481
Sebastian Dröge [Sat, 1 Mar 2014 16:13:58 +0000 (17:13 +0100)]
hlsdemux: Implement proper handling of discontinuities
It's not really correct yet for seeks but better than what
we had before.
See https://bugzilla.gnome.org/show_bug.cgi?id=695846
Aleix Conchillo Flaqué [Fri, 28 Feb 2014 19:16:27 +0000 (11:16 -0800)]
srtpenc: unref caps after gst_query_set_caps_result
https://bugzilla.gnome.org/show_bug.cgi?id=725412
Alex Ashley [Tue, 25 Feb 2014 11:45:46 +0000 (11:45 +0000)]
hlsdemux: Segfaults if playlist has no media files
hlsdemux causes a null pointer dereference if the media playlist
does not contain any media files. The gst_m3u8_client_get_duration
function assumes that demux->client->current->files is valid when
computing duration.
gst_m3u8_client_update needed to be modified to check for the
case of downloading an M3U8 file that doesn't contain any media
files, and returning an error to gsthlsdemux.c
This bug can be reproduced by creating a master m3u8 file that
contains one media playlist that points back to the master m3u8
file. For example create a file called bug725134.m3u8:
#EXTM3U
#EXT-X-VERSION:4
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=1251135, CODECS="avc1.42001f mp4a.40.2", RESOLUTION=640x352
bug725134.m3u8
https://bugzilla.gnome.org/show_bug.cgi?id=725134
Sebastian Dröge [Fri, 28 Feb 2014 08:34:59 +0000 (09:34 +0100)]
Automatic update of common submodule
From fe1672e to bcb1518
Sebastian Dröge [Thu, 27 Feb 2014 21:28:16 +0000 (22:28 +0100)]
mpegdemux: Don't write after the end of the psm array when initialising it
Sebastian Dröge [Thu, 27 Feb 2014 20:45:34 +0000 (21:45 +0100)]
openalsrc: Remove unused function to fix compiler warning
Sebastian Dröge [Thu, 27 Feb 2014 20:41:53 +0000 (21:41 +0100)]
id3tag: Remove unused function to fix compiler warning
Sebastian Dröge [Thu, 27 Feb 2014 14:49:20 +0000 (15:49 +0100)]
hlsdemux: Init and clear a mutex
GLib initialises automatically for us for some reason... but of course
does not clear the mutex once the demuxer is destroyed.
Sebastian Dröge [Thu, 27 Feb 2014 14:41:30 +0000 (15:41 +0100)]
hlsdemux: Unref seek events before returning from the seek handler
Otherwise we leak them all.
Sebastian Dröge [Thu, 27 Feb 2014 11:02:19 +0000 (12:02 +0100)]
uridownloader: Fix debug output to describe the new reality
Sebastian Dröge [Thu, 27 Feb 2014 10:53:12 +0000 (11:53 +0100)]
uridownloader: Warning messages are not fatal
Also they need to be parsed with gst_message_parse_warning(),
gst_message_parse_error() does not work on them.
Stefan Ringel [Wed, 26 Feb 2014 21:26:48 +0000 (22:26 +0100)]
docs: mpegts: add missed docs
Signed-off-by: Stefan Ringel <linuxtv@stefanringel.de>
https://bugzilla.gnome.org/show_bug.cgi?id=725278
Stefan Ringel [Wed, 26 Feb 2014 20:08:23 +0000 (21:08 +0100)]
docs: dvbsrc: add missed args
Signed-off-by: Stefan Ringel <linuxtv@stefanringel.de>
https://bugzilla.gnome.org/show_bug.cgi?id=725278
Stefan Sauer [Wed, 26 Feb 2014 21:12:23 +0000 (22:12 +0100)]
Automatic update of common submodule
From 1a07da9 to fe1672e
Stefan Sauer [Wed, 26 Feb 2014 18:18:54 +0000 (19:18 +0100)]
docs: remove stray ( in Makefile.am
Thiago Santos [Tue, 25 Feb 2014 01:53:14 +0000 (22:53 -0300)]
mpegtsmux: forward tags that have global scope
Instead of dropping all tag events
https://bugzilla.gnome.org/show_bug.cgi?id=644395
Thiago Santos [Tue, 25 Feb 2014 01:43:56 +0000 (22:43 -0300)]
tsdemux: store global tags to push later
Keep a list of current global tags around and push them
whenever a new stream is started. Also convert all stream
specific tags to global as they are stream specific for
the container, so they are global for the streams from
within that container.
https://bugzilla.gnome.org/show_bug.cgi?id=644395
Stefan Sauer [Wed, 26 Feb 2014 10:32:01 +0000 (11:32 +0100)]
docs: install prebuilt plugin docs if gtk-doc is disabled
Sync to the Makefile.am from gst-plugin-base where it is done right.
Fixes #725034
Alex Ashley [Fri, 21 Feb 2014 09:36:51 +0000 (09:36 +0000)]
hlsdemux: Fix parsing of CODECS and RESOLUTION
hlsdemux does not check for the '"' character in #EXT-X-STREAM-INF
attributes. The CODECS parameter is an example of an attribute
that might use the '"' symbol and might contain a ',' character
inside this quoted string.
For example: CODECS="avc1.77.30, mp4a.40.2"
hlsdemux does not correctly parse the RESOLUTION attribute, it
assumes that an '=' character is used to delineate the width
and height values, but the HLS RFC states that a 'x' character
must be used as the delimiter between width and height.
https://bugzilla.gnome.org/show_bug.cgi?id=725140
Alex Ashley [Fri, 21 Feb 2014 09:30:49 +0000 (09:30 +0000)]
hlsdemux: Fix for URLs that contain a '/' in the query parameter
If the URL for the master manifest files contains a '/' character
in the query parameter (for example
http://example.net/1054559_h264_1500k.mp4/master.m3u8?acl=/*1054559_h264_1500k.mp4),
hlsdemux is incorrectly converting the relative URLs of the media
playlists in to absolute URLs. It is incorrectly using the last '/' it
finds in the URL. According to RFC3986 the '/' character is allowed in
the query part of the URL.
https://bugzilla.gnome.org/show_bug.cgi?id=725137
Julien Isorce [Mon, 2 Dec 2013 10:01:12 +0000 (10:01 +0000)]
eglglessink: move GstEGLImageBufferPool to gstegl lib
https://bugzilla.gnome.org/show_bug.cgi?id=706054
Jesper Larsen [Tue, 25 Feb 2014 11:17:20 +0000 (12:17 +0100)]
test: mpegts: Add check for SDT
https://bugzilla.gnome.org/show_bug.cgi?id=724981
Jesper Larsen [Sat, 22 Feb 2014 15:46:31 +0000 (16:46 +0100)]
mpegts: Add constructor for dvb service descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=724981
Jesper Larsen [Tue, 25 Feb 2014 09:28:38 +0000 (10:28 +0100)]
docs: mpegts: Add new SDT API
https://bugzilla.gnome.org/show_bug.cgi?id=724981
Jesper Larsen [Sat, 22 Feb 2014 15:47:57 +0000 (16:47 +0100)]
mpegts: Add support for creation of SDT
https://bugzilla.gnome.org/show_bug.cgi?id=724981
Jesper Larsen [Sat, 22 Feb 2014 15:41:22 +0000 (16:41 +0100)]
mpegts: Add transport_stream_id to GstMpegTsSDT
The transport_stream_id is contained in the subtable extension.
Introduce a variable for readability.
https://bugzilla.gnome.org/show_bug.cgi?id=724981
Edward Hervey [Tue, 25 Feb 2014 10:29:06 +0000 (11:29 +0100)]
mpegpsdemux: Initialize PSM fully
Some gaps were missed in the previous version. Instead just initialize
the whole table to -1 first and then fill what needs to be specified.
Edward Hervey [Mon, 24 Feb 2014 14:52:53 +0000 (15:52 +0100)]
mpegts: Fix descriptor checks
Only use g_return_val_if_fail on provided direct arguments. The others get
checked all the time.
https://bugzilla.gnome.org/show_bug.cgi?id=724464
Kipp Cannon [Mon, 24 Feb 2014 19:56:03 +0000 (14:56 -0500)]
debugutilsbad.c fails gst-indent check
this patch is "gst-indent debugutilsbad.c"
https://bugzilla.gnome.org/show_bug.cgi?id=725090
Jesper Larsen [Sat, 22 Feb 2014 17:22:26 +0000 (18:22 +0100)]
mpegts: network_name: Check converted length
Check the length of the name argument after it has been converted.
https://bugzilla.gnome.org/show_bug.cgi?id=723953
Jesper Larsen [Sat, 8 Feb 2014 21:47:20 +0000 (22:47 +0100)]
tests: Add test for mpegts library
Tests for PAT, PMT, and NIT
Creates a new table, and populates it with descriptors.
Parses the newly created tables, and checks the data.
Creates a GstMpegTsSection from the tables, and packetize the sections.
The packetized section data is byte-wise compared to a static byte array
https://bugzilla.gnome.org/show_bug.cgi?id=723953
Thiago Santos [Mon, 24 Feb 2014 14:06:28 +0000 (11:06 -0300)]
examples: gst-camerabin2-test: new 1.x raw caps format
Remove -yuv and -rgb from video/x-raw as those are from the
old 0.10 version
Sebastian Dröge [Sun, 23 Feb 2014 14:18:22 +0000 (15:18 +0100)]
hlsdemux: Keep track of timestamps by adding them up during playback
...instead of adding them from the start of playlist every time. This
among other things fixes timestamps for live streams, where the playlist
is some kind of ringbuffer of fragments and thus adding from the beginning
of the playlist will miss the past fragments.
https://bugzilla.gnome.org/show_bug.cgi?id=724983
Sebastian Dröge [Sun, 23 Feb 2014 10:01:57 +0000 (11:01 +0100)]
hlsdemux: Deprecate fragments-cache property
The buffering/caching is handling completely different now and
outside of hlsdemux.
Brendan Long [Wed, 19 Feb 2014 01:16:35 +0000 (19:16 -0600)]
katedec: Merge new tags with existing tags to prevent overwriting demuxer tags
https://bugzilla.gnome.org/show_bug.cgi?id=724699
Sebastian Dröge [Thu, 20 Feb 2014 14:09:36 +0000 (15:09 +0100)]
ext: Use Codec/Demuxer/Adaptive for the adaptive streaming demuxers
Sebastian Dröge [Mon, 17 Feb 2014 08:19:32 +0000 (09:19 +0100)]
hlsdemux: Refactor threading and downloading
We now download fragments as fast as possible and push them downstream
while another thread is just responsible for updating live playlists
every now and then.
This simplifies the code a lot and together with the new buffering
mode for adaptive streams in multiqueue makes streams start much faster.
Also simplify threading a bit and hopefully make the GstTask usage safer.
Sebastian Dröge [Wed, 19 Feb 2014 08:35:45 +0000 (09:35 +0100)]
hlsdemux: Only switch pads if the caps are changing
Chris Bass [Fri, 21 Feb 2014 12:33:42 +0000 (12:33 +0000)]
dashdemux: ensure segments aren't fetched before they're available
Incorrect time scaling in gst_dash_demux_wait_for_fragment_to_be_available()
means that media segments are fetched before their availablity time. This
patch fixes this.
https://bugzilla.gnome.org/show_bug.cgi?id=724875
Edward Hervey [Fri, 21 Feb 2014 13:06:24 +0000 (14:06 +0100)]
mpegtsbase: Uncomment PAT clearup in _reset
The PAT is related to the stream, we therefore want it cleared along
with anything stream related.
This commented section was from the (old) mpegtsparse and *might* have
been related to speeding up DVB start-up. But we have another plan for that.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=724716
Chris Bass [Tue, 18 Feb 2014 10:19:52 +0000 (10:19 +0000)]
dashdemux: initialise demux->last_manifest_update
demux->last_manifest_update is not initialised at startup, with the
effect that live manifests are reloaded immediately after the download
loop begins. This patch fixes this.
https://bugzilla.gnome.org/show_bug.cgi?id=724790
Edward Hervey [Sun, 29 Dec 2013 15:00:01 +0000 (16:00 +0100)]
mpegtspacketizer: Fix ts_to_offset beyond last observed PCR
The requested TS might be beyond the last observed PCR. In order to calculate
a coherent offset, we need to use the last and previous-to-last groups.
https://bugzilla.gnome.org/show_bug.cgi?id=721035
Brendan Long [Thu, 13 Feb 2014 00:15:44 +0000 (18:15 -0600)]
mpegts: Add gst_mpegts_section_get_data, to allow us to get the original binary section data.
https://bugzilla.gnome.org/show_bug.cgi?id=724255
Edward Hervey [Thu, 20 Feb 2014 18:08:33 +0000 (19:08 +0100)]
mpegts: Add size guards for descriptors where neeeded
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=724464
Edward Hervey [Thu, 20 Feb 2014 17:14:51 +0000 (18:14 +0100)]
mpeg-ts: Rename private function
Calling it _desc_checks when it was in fact used for sections was a
tad confusing ...
Stefan Ringel [Sun, 16 Feb 2014 09:45:21 +0000 (10:45 +0100)]
mpegts: Add support for content descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=724034
Stefan Ringel [Sun, 16 Feb 2014 09:44:55 +0000 (10:44 +0100)]
mpegts: Add support for component descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=724034
Stefan Ringel [Sun, 16 Feb 2014 09:43:52 +0000 (10:43 +0100)]
mpegts: Add support for extended event desriptor
https://bugzilla.gnome.org/show_bug.cgi?id=724034
Stefan Ringel [Mon, 10 Feb 2014 20:52:28 +0000 (21:52 +0100)]
mpegts: Add support for DVB terrestrial delivery system descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=724069
Sebastian Dröge [Sun, 16 Feb 2014 09:09:18 +0000 (10:09 +0100)]
configure: Rename all variables related to the winks plugin
It does not make sense to call them after directshow if they
are for the winks plugin only.
https://bugzilla.gnome.org/show_bug.cgi?id=724100
Andoni Morales Alastruey [Mon, 8 Apr 2013 12:04:10 +0000 (14:04 +0200)]
hlsdemux: fix update interval with respect of the spec
Sebastian Dröge [Fri, 14 Feb 2014 11:39:06 +0000 (12:39 +0100)]
amcaudiodec: Calculate number of samples per frame for MP3 and use that
Some audio decoders (at least the MP3 decoder on MTK based devices) outputs
raw audio in batches of multiple audio frames. We need to handle that
properly, otherwise the base class will be kind of unhappy.
Sebastian Dröge [Fri, 14 Feb 2014 11:33:08 +0000 (12:33 +0100)]
amcaudiodec: Error out if we get an invalid raw audio buffer size
Sebastian Dröge [Fri, 14 Feb 2014 11:32:31 +0000 (12:32 +0100)]
amcvideodec: Store return value of gst_caps_merge_structure()
The inputs are both invalid afterwards.
Sebastian Dröge [Fri, 14 Feb 2014 11:31:29 +0000 (12:31 +0100)]
amcvideodec: Release buffer to Android if allocating output failed
Sebastian Dröge [Fri, 14 Feb 2014 11:28:50 +0000 (12:28 +0100)]
amcaudiodec: Release buffer back to Android if allocating output fails