Sebastian Dröge [Fri, 24 Aug 2012 11:35:44 +0000 (04:35 -0700)]
Cache the codec informations inside the registry
Otherwise we would always load all codecs during plugin initialization
which can take quite some time (because of hardware) and also loads
lots of shared libraries (which number is limited by 64 in Android).
Sebastian Dröge [Fri, 24 Aug 2012 07:20:26 +0000 (09:20 +0200)]
Properly attach and detach the current threads to the Java VM
Attaching a thread after it was detached will cause segfaults,
as such we use a pthread_key_t to keep track of the JNIEnv* of
the attached threads and in the destructor (i.e. when the
thread exits) we detach the thread.
Sebastian Dröge [Thu, 23 Aug 2012 15:31:40 +0000 (17:31 +0200)]
Don't get the output format from the codec before it is ready
Apparently things are crashing otherwise.
Sebastian Dröge [Thu, 23 Aug 2012 15:31:14 +0000 (17:31 +0200)]
Get the input buffers from the codec
Sebastian Dröge [Thu, 23 Aug 2012 15:30:45 +0000 (17:30 +0200)]
Fix JNI method call signatures
Sebastian Dröge [Thu, 23 Aug 2012 15:30:12 +0000 (17:30 +0200)]
Initialize the VM will full debugging for now
Sebastian Dröge [Thu, 23 Aug 2012 11:53:37 +0000 (13:53 +0200)]
Use NewStringUTF() instead of our own method for that
Sebastian Dröge [Thu, 23 Aug 2012 10:30:23 +0000 (12:30 +0200)]
Add the TI format to the mapping table too
Sebastian Dröge [Thu, 23 Aug 2012 10:29:40 +0000 (12:29 +0200)]
Add another TI specific OpenMAX color format
Sebastian Dröge [Wed, 22 Aug 2012 17:30:59 +0000 (19:30 +0200)]
Fixes to element/elementfactory creation
Sebastian Dröge [Wed, 22 Aug 2012 17:12:23 +0000 (19:12 +0200)]
Some bugfixes to the codec scanning code
Also it's not possible to attach a thread after it was
detached once. As such we simply never detach any thread
at all now.
Sebastian Dröge [Wed, 22 Aug 2012 16:35:36 +0000 (18:35 +0200)]
Fix some compilation errors
Sebastian Dröge [Mon, 20 Aug 2012 12:13:30 +0000 (14:13 +0200)]
Add important FIXME
Sebastian Dröge [Mon, 20 Aug 2012 11:45:53 +0000 (13:45 +0200)]
Add video decoder element
Sebastian Dröge [Mon, 20 Aug 2012 11:45:20 +0000 (13:45 +0200)]
Add some more JNI wrapping
Sebastian Dröge [Mon, 20 Aug 2012 11:42:24 +0000 (13:42 +0200)]
Add some missing color format constants
Sebastian Dröge [Thu, 16 Aug 2012 13:18:19 +0000 (15:18 +0200)]
Implement basic wrapper around MediaCodec API
Ideally nothing else will be needed from the elements later.
Sebastian Dröge [Wed, 15 Aug 2012 16:23:34 +0000 (18:23 +0200)]
Some more WIP
Scanning all codecs now and have data structures for holding codec
information and codec contexts. Also function declarations for
working with them.
Sebastian Dröge [Tue, 14 Aug 2012 11:20:14 +0000 (13:20 +0200)]
Initial commit
Sebastian Dröge [Mon, 15 Oct 2012 13:53:12 +0000 (15:53 +0200)]
androidmedia: Add androidmedia plugin
Sebastian Dröge [Mon, 15 Oct 2012 09:45:04 +0000 (11:45 +0200)]
hlsdemux: And fix another deadlock caused by the update thread not correctly shutting down
Conflicts:
gst/hls/gsthlsdemux.c
Sebastian Dröge [Mon, 15 Oct 2012 09:02:02 +0000 (11:02 +0200)]
hlsdemux: Also hold the mutex before signalling the condition variable
Conflicts:
gst/hls/gsturidownloader.c
Sebastian Dröge [Mon, 15 Oct 2012 08:53:58 +0000 (10:53 +0200)]
hlsdemux: Also cancel the downloader before stopping the playlist update task
Sebastian Dröge [Mon, 15 Oct 2012 08:38:16 +0000 (10:38 +0200)]
hlsdemux: Only lock the mutex when it's not locked already
Conflicts:
gst/hls/gsthlsdemux.c
Sebastian Dröge [Mon, 15 Oct 2012 08:32:47 +0000 (10:32 +0200)]
hlsdemux: Fix another race condition by holding the mutex that the condition variable uses
Conflicts:
gst/hls/gsthlsdemux.c
Sebastian Dröge [Mon, 15 Oct 2012 07:47:35 +0000 (09:47 +0200)]
hlsdemux: Port some things from the last commits
Sebastian Dröge [Mon, 15 Oct 2012 07:35:16 +0000 (09:35 +0200)]
hlsdemux: Never ever stop a task from the task function
This will deadlock. Also make sure to always post an error message
if required before pausing tasks from the task function.
Should fix another bunch of deadlocks.
Conflicts:
gst/hls/gsthlsdemux.c
Sebastian Dröge [Mon, 15 Oct 2012 07:24:01 +0000 (09:24 +0200)]
hlsdemux: Fix lots of deadlocks caused by race conditions in the task state handling
Sergey N. Gorshkov [Fri, 12 Oct 2012 06:57:44 +0000 (10:57 +0400)]
rtmpsink: handle RTMP_Write() return value correctly
Error might also be negative (-1). Unclear if 0 should
be fatal as well though.
https://bugzilla.gnome.org/show_bug.cgi?id=681111
https://bugzilla.gnome.org/show_bug.cgi?id=686009
David Régade [Fri, 12 Oct 2012 22:09:06 +0000 (23:09 +0100)]
rtmpsink: fix memory leak from URI verification via RTMP_ParseURL()
In gst_rtmp_sink_uri_set_uri(), a test is performed in order
to be sure uri is correct for librtmp. This test calls
RTMP_ParseURL with 3 AVal pointers as parameters: host,
playpath and app.
AVal is a struct with a char* + int. After RTMP_ParseURL call,
host.av_val and app.av_val both refer a substring of "uri". But
playpath.av_val may be the result of a malloc so it needs to
be freed.
https://bugzilla.gnome.org/show_bug.cgi?id=681459
Mark Nauwelaerts [Fri, 12 Oct 2012 20:33:45 +0000 (22:33 +0200)]
mpegdemux: advance stream time when sending GAP event
Mark Nauwelaerts [Fri, 12 Oct 2012 20:33:27 +0000 (22:33 +0200)]
mpegdemux: send language info downstream if available
... as extracted from dvd event.
Mark Nauwelaerts [Fri, 12 Oct 2012 20:31:53 +0000 (22:31 +0200)]
mpegdemux: remove obsolete struct field
Michael Smith [Fri, 12 Oct 2012 19:28:44 +0000 (12:28 -0700)]
audioparse: Set framesize and properties correctly when taking format
from caps.
Mark Nauwelaerts [Fri, 12 Oct 2012 15:51:51 +0000 (17:51 +0200)]
mpegdemux: tweak flow return aggregation
Mark Nauwelaerts [Fri, 12 Oct 2012 13:44:03 +0000 (15:44 +0200)]
mpegdemux: handle upstream TIME segments
Mark Nauwelaerts [Fri, 12 Oct 2012 13:07:21 +0000 (15:07 +0200)]
mpegdemux: handle and combine downstream flow return
Mark Nauwelaerts [Fri, 12 Oct 2012 12:50:34 +0000 (14:50 +0200)]
mpegdemux: handle new style dvd event
Mark Nauwelaerts [Thu, 11 Oct 2012 13:29:36 +0000 (15:29 +0200)]
mpegdemux: do not add pad after no-more-pads
Mark Nauwelaerts [Thu, 11 Oct 2012 13:27:12 +0000 (15:27 +0200)]
mpegdemux: clean up segment sending
... to use the src_segment as a basis for the sent segment,
thereby properly conveying accumulated base_time etc.
Also ensure src_segment is only adjusted once, so that
all downstream segments are identical to avoid stream
misalignment.
Mark Nauwelaerts [Thu, 11 Oct 2012 10:07:46 +0000 (12:07 +0200)]
mpegdemux: send GAP event rather than segment updates
Mark Nauwelaerts [Thu, 11 Oct 2012 09:51:50 +0000 (11:51 +0200)]
mpegdemux: refactor segment sending
Mark Nauwelaerts [Thu, 11 Oct 2012 09:30:44 +0000 (11:30 +0200)]
mpegdemux: refactor init and reset
Mark Nauwelaerts [Thu, 11 Oct 2012 09:04:33 +0000 (11:04 +0200)]
mpegdemux: no more segment closing in 1.0
Mark Nauwelaerts [Thu, 11 Oct 2012 09:03:21 +0000 (11:03 +0200)]
mpegdemux: clean up some debug statements
Mark Nauwelaerts [Thu, 11 Oct 2012 13:31:04 +0000 (15:31 +0200)]
dtsdec: fix buffer parsing
... to avoid feeding empty buffers to decoder.
Sebastian Dröge [Fri, 12 Oct 2012 13:26:20 +0000 (15:26 +0200)]
mpegtsdemux: First push EOS, then destroy all programs
And also properly remove the program from the subclass
Sebastian Dröge [Fri, 12 Oct 2012 13:09:07 +0000 (15:09 +0200)]
hlsdemux: Fix invalid read
Sreerenj Balachandran [Wed, 10 Oct 2012 15:18:03 +0000 (18:18 +0300)]
mpegvideoparse: signal interlacing properly in video caps
The field is called "interlace-mode" mode now and is a string.
https://bugzilla.gnome.org/show_bug.cgi?id=685895
Wim Taymans [Wed, 10 Oct 2012 12:11:43 +0000 (14:11 +0200)]
replace some playbin2 -> playbin
Mark Nauwelaerts [Wed, 10 Oct 2012 07:58:39 +0000 (09:58 +0200)]
mpeg4videoparse: reset frame parser after parsing caps codec data
... so as to arrange for a proper fresh state upon first frame.
Sebastian Dröge [Wed, 10 Oct 2012 07:48:58 +0000 (09:48 +0200)]
common: Update to the right commit again
Was accidentially reverted to an older version in the last commit.
Michael Smith [Wed, 10 Oct 2012 06:00:14 +0000 (23:00 -0700)]
audioparse: add a mode where the caps are taken from the sink pad, and thus audioparse
is only performing timestamping.
Michael Smith [Wed, 10 Oct 2012 04:19:15 +0000 (21:19 -0700)]
mpegvideoparse: reset frame parser after parsing codec_data buffer in caps, to
avoid not correctly parsing the full first frame.
Mark Nauwelaerts [Tue, 9 Oct 2012 11:53:19 +0000 (13:53 +0200)]
mpeg4videoparse: properly mark config data presence
... which we allow to start at VisualObjectSequence or
at VideoObject.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=685709
Sebastian Dröge [Mon, 8 Oct 2012 10:38:20 +0000 (12:38 +0200)]
fieldanalysis: Fix unitiailized variable compiler warning
And also use the pad's default event function instead
of just pushing to the peerpad. This makes sure any
default handling of events is called.
Sebastian Dröge [Mon, 8 Oct 2012 10:23:20 +0000 (12:23 +0200)]
fieldanalysis: Remove from the NONPORTED plugins list
It's supposed to be ported in 1.0.1 already.
Tim-Philipp Müller [Sun, 7 Oct 2012 16:06:39 +0000 (17:06 +0100)]
docs: add 'make upload' target for docs/ for new-release script
Tim-Philipp Müller [Sun, 7 Oct 2012 16:03:45 +0000 (17:03 +0100)]
Back to development (bug fixing)
Tim-Philipp Müller [Sun, 7 Oct 2012 14:57:03 +0000 (15:57 +0100)]
Release 1.0.1
Tim-Philipp Müller [Sat, 6 Oct 2012 13:57:54 +0000 (14:57 +0100)]
Automatic update of common submodule
From
6c0b52c to
6bb6951
Michael Smith [Wed, 3 Oct 2012 18:05:06 +0000 (11:05 -0700)]
meta info: register thread-safely.
Sebastian Dröge [Wed, 3 Oct 2012 15:23:01 +0000 (17:23 +0200)]
rtpvp8: Also commit remaining uncommitted changes...
Andoni Morales Alastruey [Wed, 3 Oct 2012 09:39:28 +0000 (09:39 +0000)]
rtpvp8: redifine vp8_norm to avoid duplicated symbols in static links with libvpx
Andoni Morales Alastruey [Wed, 3 Oct 2012 09:49:39 +0000 (09:49 +0000)]
videoparsers: fix duplicated symbols for static links with libschroedinger
Rob Clark [Tue, 27 Dec 2011 04:04:04 +0000 (22:04 -0600)]
dvdspu: add YV12 and NV12 support
https://bugzilla.gnome.org/show_bug.cgi?id=667220
Conflicts:
gst/dvdspu/gstdvdspu.c
gst/dvdspu/gstdvdspu.h
gst/dvdspu/gstspu-pgs.c
gst/dvdspu/gstspu-vobsub-render.c
Jan Schmidt [Tue, 2 Oct 2012 12:20:20 +0000 (22:20 +1000)]
resindvd: Remove caps lock from parsetter element.
All the members it used to protect in 0.10 are protected by
the stream lock now.
Jan Schmidt [Mon, 1 Oct 2012 13:43:47 +0000 (23:43 +1000)]
resindvd: Update overridden caps when the DAR changes
Send a new caps event downstream when we receive new orders
from the VM, if there are existing caps.
Jan Schmidt [Mon, 1 Oct 2012 13:21:12 +0000 (23:21 +1000)]
resindvd: Port parsetter element
Port the DVD element which overrides the MPEG encoded pixel-aspect-ratio
to match that requested by the DVD VM.
Christian Fredrik Kalager Schaller [Mon, 1 Oct 2012 11:52:35 +0000 (13:52 +0200)]
update for latest changes
Christophe Fergeau [Sun, 30 Sep 2012 18:52:30 +0000 (20:52 +0200)]
chromaprint: Missing unmap buffer in transform_ip
When no samples have to be processed, transform_ip exits early, but
the buffer it uses was not properly unmapped.
https://bugzilla.gnome.org/show_bug.cgi?id=685159
Jan Schmidt [Sat, 29 Sep 2012 17:49:17 +0000 (03:49 +1000)]
resindvd: Fiddle with segment handling for DVD.
Clarify some of the terms used, and make sure to extend the
stop time when the position moves past the end of the current
segment (as for still frames, for example).
Also, make sure to reset the position value of the segment the
demuxer outputs when collecting a seamless segment.
Tim-Philipp Müller [Sat, 29 Sep 2012 12:21:18 +0000 (13:21 +0100)]
frei0r: fix plugin loading for frei0r elements that have no info.explanation
We don't allow empty descriptions for elements any more.
Tim-Philipp Müller [Sat, 29 Sep 2012 11:36:08 +0000 (12:36 +0100)]
Remove some liboil references
https://bugzilla.gnome.org/show_bug.cgi?id=673285
Tim-Philipp Müller [Sat, 29 Sep 2012 11:30:20 +0000 (12:30 +0100)]
cog: remove some old elements so they don't get ported accidentally
They are replaced by videoconvert and gdkpixbufoverlay
Руслан Ижбулатов [Fri, 28 Sep 2012 18:30:39 +0000 (22:30 +0400)]
curl: fix compiler warning with setsockopt() on windows
The optval argument is of type const char * on windows.
https://bugzilla.gnome.org/show_bug.cgi?id=685065
Nicolas Dufresne [Fri, 28 Sep 2012 15:59:57 +0000 (11:59 -0400)]
frei0r: Port to 1.0
https://bugzilla.gnome.org/show_bug.cgi?id=681678
Руслан Ижбулатов [Wed, 26 Sep 2012 04:20:49 +0000 (08:20 +0400)]
curl: fix build on win32
https://bugzilla.gnome.org/show_bug.cgi?id=684847
Thiago Santos [Fri, 28 Sep 2012 03:06:45 +0000 (00:06 -0300)]
wrappercamerabinsrc: change video-source if the user requested
When going from null to ready, check if the user requested to
use a new source and replace the current one.
Fixes #681562
Thiago Santos [Fri, 28 Sep 2012 02:22:37 +0000 (23:22 -0300)]
wrappercamerabinsrc: pad probe ids are gulong
Change variable to the correct type
Thiago Santos [Thu, 27 Sep 2012 22:40:36 +0000 (19:40 -0300)]
camerabin: use correct element name when replacing the video filter
The name was updated on the 0.10 -> 1.0 transition, but the
gst_bin_remove was still using the old name, causing an assertion
when replacing video-source-filter
https://bugzilla.gnome.org/show_bug.cgi?id=681564
Jan Schmidt [Wed, 26 Sep 2012 04:50:04 +0000 (14:50 +1000)]
soundtouch: Transform timestamps properly after a seek.
The segment is transformed to match the pitch conversion
being applied, so make sure the timestamps being output
match the configured downstream segment accordingly, and
adjust the downstream segment position to match the stream time
ratio also.
Jan Schmidt [Mon, 17 Sep 2012 15:13:36 +0000 (01:13 +1000)]
resindvd: Don't send spurious 'close segment' events. Make a single segment
With the new 1.0 segment semantics, there's no need to close the
previous segment before sending out a new one, so don't do it.
Also, adjust the outgoing segment to just be one contiguous
timeline, with a base of 0. Fixes some repeating timestamps when
segments change.
Robert Swain [Mon, 24 Sep 2012 15:25:25 +0000 (17:25 +0200)]
fieldanalysis: Port to 1.0
I was also vaguely forced to overhaul some bits and pieces and mess with
the data structures. This was mostly due to caps not being part of
buffers and so I had to switch to using GstVideoFrame and GstVideoInfo.
Yaakov Selkowitz [Mon, 24 Sep 2012 21:11:32 +0000 (16:11 -0500)]
chromaprint: link against libgstbase
Calls to gst_base_transform_get_type and gst_base_transform_set_passthrough
require linking with libgstbase.
https://bugzilla.gnome.org/show_bug.cgi?id=684740
Tim-Philipp Müller [Mon, 24 Sep 2012 15:59:24 +0000 (16:59 +0100)]
Back to development (bug fixing)
Tim-Philipp Müller [Mon, 24 Sep 2012 13:42:25 +0000 (14:42 +0100)]
Release 1.0.0
Tim-Philipp Müller [Mon, 24 Sep 2012 13:42:12 +0000 (14:42 +0100)]
docs: update
David Schleef [Sun, 23 Sep 2012 20:15:20 +0000 (13:15 -0700)]
decklink: change device instance lifecycle
The decklink driver eventually crashes after repeated creation/deletion
of device, input, output, and configuration objects. Change to create
these at the outset and keep them around forever.
David Schleef [Sat, 22 Sep 2012 20:56:57 +0000 (13:56 -0700)]
decklinksrc: Fix memory leaks
Buffers now hold on to a reference for the input, so the input
object doesn't get freed (and carry the buffers with it) before
all the buffers are freed.
Tim-Philipp Müller [Sun, 23 Sep 2012 20:08:57 +0000 (21:08 +0100)]
tests: disable assrender unit test
Doesn't work, needs fixing.
Tim-Philipp Müller [Sun, 23 Sep 2012 20:07:07 +0000 (21:07 +0100)]
assrender: disable for autoplugging until it works
https://bugzilla.gnome.org/show_bug.cgi?id=683192
https://bugzilla.gnome.org/show_bug.cgi?id=684683
Olivier Crête [Sat, 22 Sep 2012 19:00:27 +0000 (15:00 -0400)]
rtpdtmfdepay: Use 1.0-style caps negotiation and audio/x-raw
Olivier Crête [Thu, 20 Sep 2012 22:42:50 +0000 (18:42 -0400)]
opusenc: Rank as Primary
Olivier Crête [Thu, 20 Sep 2012 22:41:24 +0000 (18:41 -0400)]
rtpopuspay: Allocate the rtp buffer correctly
Use the right functions to allocate the rtp buffer
Tim-Philipp Müller [Sat, 22 Sep 2012 15:08:39 +0000 (16:08 +0100)]
Automatic update of common submodule
From
4f962f7 to
6c0b52c
Tim-Philipp Müller [Wed, 19 Sep 2012 23:08:56 +0000 (00:08 +0100)]
intersubsrc: disable timestamping code that doesn't make sense
and which breaks the states check because we end up trying to
divide by 0.
Mark Nauwelaerts [Tue, 18 Sep 2012 11:17:55 +0000 (13:17 +0200)]
applemedia: init videoinfo
Mark Nauwelaerts [Tue, 18 Sep 2012 11:17:27 +0000 (13:17 +0200)]
y4mdec: init videoinfo
Tim-Philipp Müller [Mon, 17 Sep 2012 23:12:52 +0000 (00:12 +0100)]
docs: remove one more old include