Haakon Sporsheim [Tue, 5 Apr 2011 19:04:54 +0000 (21:04 +0200)]
dshowvideosink: update for latest GstXOverlay changes
From xwindow_id to window_handle.
https://bugzilla.gnome.org/show_bug.cgi?id=646955
Mark Nauwelaerts [Thu, 7 Apr 2011 16:30:49 +0000 (18:30 +0200)]
mpegaudioparse: relax sync match a bit when draining
... to at least allow initial caps change (but no further caps jitter).
Robert Swain [Wed, 6 Apr 2011 13:58:07 +0000 (15:58 +0200)]
fieldanalysis: Use RFF flag to indicate buffers to drop downstream
Use of the GAP flag is not really correct here and makes it difficult to
handle real GAP buffers in deinterlace. The RFF flag is unused and can
be reused with similar semantics - the buffers marked with RFF that are
in a telecine state contain only unneeded repeated fields and so can be
dropped.
Vincent Penquerc'h [Tue, 5 Apr 2011 16:26:15 +0000 (19:26 +0300)]
shmsink: ensure gst_poll_wait is called first on descriptors
We need to call gst_poll_wait before calling gst_poll_* status
functions on that new descriptor, so restart the loop, so _wait
will have been called on all elements of self->poll, whether
they have just been added or not. */
Olivier Crête [Thu, 7 Apr 2011 00:40:40 +0000 (20:40 -0400)]
shm: Fix MSG_NOSIGNAL check
Include sys/socket.h before checking for MSG_NOSIGNAL, also
check that sys/socket.h before doing any other checks for shm
Tim-Philipp Müller [Wed, 15 Dec 2010 10:39:24 +0000 (10:39 +0000)]
camerabin: don't rely on the application running the default GLib main loop
Don't use g_idle_add() and friends to schedule things we can't do from the
streaming thread in another thread. The app may not be running the default
GLib main loop. Instead, just spawn a thread.
Also, we need to care for when acessing a pad variable, as another thread
might have taken camerabin to NULL while this gst_camerabin_imgbin_finished
didn't run.
https://bugzilla.gnome.org/show_bug.cgi?id=615655
Mark Nauwelaerts [Mon, 4 Apr 2011 18:55:39 +0000 (20:55 +0200)]
mpegaudioparse: require tighter sync match when draining
Stefan Kost [Mon, 4 Apr 2011 12:57:36 +0000 (15:57 +0300)]
Automatic update of common submodule
From 1ccbe09 to c3cafe1
Mark Nauwelaerts [Mon, 4 Apr 2011 10:21:23 +0000 (12:21 +0200)]
qtmux: more helpful debug error message when no needed duration on input buffers
Fixes #646256.
Andoni Morales Alastruey [Fri, 1 Apr 2011 23:21:34 +0000 (01:21 +0200)]
hlsdemux: validate properly utf-8 playlist
Andoni Morales Alastruey [Fri, 1 Apr 2011 23:10:37 +0000 (01:10 +0200)]
hlsdemux: m3u8: clear the list of media files before updating the playlist
Andoni Morales Alastruey [Fri, 1 Apr 2011 23:08:02 +0000 (01:08 +0200)]
hlsdemux: use and adapter instead of costful buffer joins
David Schleef [Fri, 1 Apr 2011 20:53:28 +0000 (13:53 -0700)]
Remove setting of plugindir from Makefiles
David Schleef [Sun, 27 Mar 2011 00:55:31 +0000 (17:55 -0700)]
basevideo: Fix negotiation errors
David Schleef [Sun, 27 Mar 2011 00:43:54 +0000 (17:43 -0700)]
basevideo: Add function to allocate src buffer
Thiago Santos [Fri, 1 Apr 2011 19:52:48 +0000 (16:52 -0300)]
hlsdemux: Another windows build fix
Replace %lld with %u as GST_BUFFER_SIZE is a guint
Thiago Santos [Fri, 1 Apr 2011 19:12:50 +0000 (16:12 -0300)]
hls: Fix compilation on windows
Use string literal on printing format
Thiago Santos [Fri, 1 Apr 2011 16:39:50 +0000 (13:39 -0300)]
camerabin: Processing should stop on READY
The videobin and imagebin from camerabin have their states
locked and aren't put to READY when all the rest of camerabin
is set to it.
This might cause one of them to be still processing and post
an EOS after camerabin isn't expecting it anymore, this causes
an assertion as the processing counter would already be 0 and
would be decremented.
Sebastian Dröge [Fri, 1 Apr 2011 13:00:32 +0000 (15:00 +0200)]
segmentclip: Keep a reference of events until the event is parsed
Sebastian Dröge [Fri, 1 Apr 2011 12:47:43 +0000 (14:47 +0200)]
mpegaudioparse: Parse encoder delay and encoder padding from the LAME header if present
Olivier Crête [Thu, 31 Mar 2011 20:21:11 +0000 (16:21 -0400)]
shm: Make default perm u+rw g+r for shm area
Tim-Philipp Müller [Wed, 30 Mar 2011 14:53:12 +0000 (15:53 +0100)]
hlsdemux: update for media type was renaming from playlist/m3u8 to application/x-hls
Sebastian Dröge [Wed, 30 Mar 2011 09:33:09 +0000 (11:33 +0200)]
configure.ac: Add hls plugin
Sebastian Dröge [Wed, 30 Mar 2011 08:11:24 +0000 (10:11 +0200)]
hlsdemux: Some minor cleanup
Use GST_DEBUG_FUNCPTR and G_PARAM_STATIC_STRINGS
Andoni Morales Alastruey [Wed, 30 Mar 2011 01:34:39 +0000 (03:34 +0200)]
hlsdemux: fix indentation and docs sections
Andoni Morales Alastruey [Tue, 29 Mar 2011 21:18:24 +0000 (23:18 +0200)]
hlsdemux: don't leek the query
Andoni Morales Alastruey [Tue, 29 Mar 2011 21:06:14 +0000 (23:06 +0200)]
hlsdemux: check if the task's cond was signaled because it's the end of playlist
Andoni Morales Alastruey [Sat, 12 Mar 2011 12:32:57 +0000 (13:32 +0100)]
hlsdemux: post a message in the bus when the playlist changes
Andoni Morales Alastruey [Sat, 12 Mar 2011 12:15:52 +0000 (13:15 +0100)]
hlsdemux: don't update the playlist if we stay in the same bitrate
Andoni Morales Alastruey [Sat, 12 Mar 2011 12:00:06 +0000 (13:00 +0100)]
hlsdemux: Add support for URI queries
Andoni Morales Alastruey [Sat, 12 Mar 2011 11:50:25 +0000 (12:50 +0100)]
hlsdemux: Add support for duration queries
Andoni Morales Alastruey [Sat, 12 Mar 2011 11:28:42 +0000 (12:28 +0100)]
hlsdemux: m3u8: protect public methods properly
Andoni Morales Alastruey [Sat, 12 Mar 2011 11:20:32 +0000 (12:20 +0100)]
hlsdemux: m3u8: add support to get the duration from a playlist
Andoni Morales Alastruey [Wed, 16 Feb 2011 02:51:08 +0000 (03:51 +0100)]
hlsdemux: don't print an error if the download was cancelled
Andoni Morales Alastruey [Wed, 16 Feb 2011 02:49:49 +0000 (03:49 +0100)]
hlsdemux: make sure the fetcher state change is complete before continuing
Andoni Morales Alastruey [Wed, 16 Feb 2011 00:19:45 +0000 (01:19 +0100)]
hlsdemux: don't leak the first buffer
Andoni Morales Alastruey [Tue, 15 Feb 2011 23:55:30 +0000 (00:55 +0100)]
hlsdemux: clean up code a little bit
Andoni Morales Alastruey [Tue, 15 Feb 2011 23:53:48 +0000 (00:53 +0100)]
hlsdemux: only check for the end of playlist when the queue is empty
Andoni Morales Alastruey [Tue, 15 Feb 2011 21:40:21 +0000 (22:40 +0100)]
hlsdemux: make sure to stop fragments cache if something cancelled it
Andoni Morales Alastruey [Tue, 15 Feb 2011 20:55:26 +0000 (21:55 +0100)]
hlsdemux: reuse the code in reset() to free resources in dispose()
Andoni Morales Alastruey [Tue, 15 Feb 2011 20:49:20 +0000 (21:49 +0100)]
hlsdemux: use a typefinder to set the caps in the source pad
Andoni Morales Alastruey [Tue, 15 Feb 2011 03:39:34 +0000 (04:39 +0100)]
hlsdemux: add more comments and document better all the threads involved
Andoni Morales Alastruey [Tue, 15 Feb 2011 02:42:29 +0000 (03:42 +0100)]
hlsdemux: handle 404 from the source element
Andoni Morales Alastruey [Tue, 15 Feb 2011 02:41:43 +0000 (03:41 +0100)]
hlsdemux: stop the fetcher in the PAUSED_TO_READY transition, not when disposing()
Andoni Morales Alastruey [Tue, 15 Feb 2011 02:41:01 +0000 (03:41 +0100)]
hlsdemux: make sure we don't stop the fetcher twice from different threads
Andoni Morales Alastruey [Tue, 15 Feb 2011 01:13:56 +0000 (02:13 +0100)]
hlsdemux: query the uri upstream before updating the playlist
Andoni Morales Alastruey [Mon, 14 Feb 2011 17:51:32 +0000 (18:51 +0100)]
hlsdemux: Add HTTP live streaming demuxer element
Based on previous work by Marc-André Lureau
Thiago Santos [Mon, 21 Mar 2011 13:57:05 +0000 (10:57 -0300)]
jifmux: Add GstTagXmpWriter support
Adds GstTagXmpWriter interface to jifmux element
Thiago Santos [Mon, 21 Mar 2011 13:56:51 +0000 (10:56 -0300)]
qtmux: Adding GstTagXmpWriter interface
Adds GstTagXmpWriter interface support to qtmux
Sreerenj Balachandran [Sun, 27 Mar 2011 20:50:24 +0000 (23:50 +0300)]
opencv text overlay: rename and docuemnt
Rename the element textwrite to opencvtextoverlay. Add proper structuring to
opencv textoverlay element.
Fixes: #640561
David Schleef [Sun, 27 Mar 2011 20:57:05 +0000 (13:57 -0700)]
mpegtsmux: Fix 64-bit printf format problem
Carl-Anton Ingmarsson [Sun, 27 Mar 2011 18:09:52 +0000 (20:09 +0200)]
vdpausink: fix bug where we didn't setup vdpau on a user set window
Carl-Anton Ingmarsson [Sun, 27 Mar 2011 17:47:43 +0000 (19:47 +0200)]
vdpau: fixup GstFlowReturn handling
Previously the different decoders would discard errounous GstFlowReturns coming
from downstream. Now we properly return these further upstream so that we
properly error out on eg. negotiation problems.
Carl-Anton Ingmarsson [Sun, 27 Mar 2011 17:40:48 +0000 (19:40 +0200)]
vdpau: small indentation fix
Carl-Anton Ingmarsson [Mon, 6 Sep 2010 15:42:15 +0000 (17:42 +0200)]
vdpaumpegdec: don't ignore return value of gst_base_video_decoder_finish_frame
Tim-Philipp Müller [Sun, 27 Mar 2011 16:42:56 +0000 (17:42 +0100)]
dshow: fix list iteration code
Tim-Philipp Müller [Sun, 27 Mar 2011 16:22:52 +0000 (17:22 +0100)]
dccpserversink: fix list iteration code
Fix suboptimal list iteration code, and add some FIXMEs.
Tim-Philipp Müller [Sat, 26 Mar 2011 12:45:24 +0000 (12:45 +0000)]
patchdetect: link against libm
Link against libm. Include math-compat.h header. Don't link against
orc, since it's not actually used.
https://bugzilla.gnome.org/show_bug.cgi?id=645711
Jan Schmidt [Sat, 26 Mar 2011 05:12:18 +0000 (16:12 +1100)]
Use correct clock when checking whether to write a new PCR
The PCR clocks against the 27MHz SCR clock, so check it correctly
to avoid writing the PCR too often.
Partially fixes: #611046
Jan Schmidt [Sat, 26 Mar 2011 04:58:21 +0000 (15:58 +1100)]
Rewrite M2TS packet output
Make sure we only write the bottom 30 bits of the PCR to the m2ts header.
Don't use floating point computation for it, and remove weird bit fiddling
that messes up the PCR in a way I can't find any
justification/documentation for.
Don't accidentally lose PCR packets from the output.
Fix the description for the m2ts-mode property so it's clear it's a flag,
and which setting does what.
Fixes: #611061 #644429
Partially fixes: #645006
Jan Schmidt [Sat, 26 Mar 2011 00:14:01 +0000 (11:14 +1100)]
Fix a FIXME, and some whitespace/code style bits.
Also, add a new copyright notice for me.
Sebastian Dröge [Fri, 25 Mar 2011 21:33:05 +0000 (22:33 +0100)]
Automatic update of common submodule
From 193b717 to 1ccbe09
Stefan Kost [Fri, 25 Mar 2011 12:56:43 +0000 (14:56 +0200)]
Automatic update of common submodule
From b77e2bf to 193b717
Sebastian Dröge [Fri, 25 Mar 2011 08:32:30 +0000 (09:32 +0100)]
Automatic update of common submodule
From d8814b6 to b77e2bf
Sebastian Dröge [Fri, 25 Mar 2011 08:08:49 +0000 (09:08 +0100)]
Automatic update of common submodule
From 6aaa286 to d8814b6
Sebastian Dröge [Fri, 25 Mar 2011 07:33:37 +0000 (08:33 +0100)]
aiffparse: Add float caps to the template caps
David Schleef [Thu, 24 Mar 2011 23:16:20 +0000 (16:16 -0700)]
decklink: Fix win32 build
René Stadler [Thu, 24 Mar 2011 20:32:42 +0000 (22:32 +0200)]
mpegtsdemux: ensure cleanup of pes/section filter helper structures
In particular, the section_filter would not be cleared for a private section
stream, leaking a GstAdapter. Seen on bug #645502.
René Stadler [Thu, 24 Mar 2011 20:10:43 +0000 (22:10 +0200)]
mpegtsdemux: don't leak pad name
As seen on bug #645502.
René Stadler [Thu, 24 Mar 2011 19:46:09 +0000 (21:46 +0200)]
h264parse: free PPS NAL buffers on cleanup
Obviously a typo. Fixes bug #645502.
René Stadler [Thu, 24 Mar 2011 19:44:07 +0000 (21:44 +0200)]
h264parse: don't leak all NAL buffers
gst_buffer_replace() doesn't steal the ref. Partial fix for bug #645502.
Stefan Kost [Thu, 24 Mar 2011 16:49:54 +0000 (18:49 +0200)]
Automatic update of common submodule
From 6aec6b9 to 6aaa286
Janne Grunau [Thu, 24 Mar 2011 13:51:12 +0000 (14:51 +0100)]
mpegtsdemux: fix stream_info descriptor parsing
Arun Raghavan [Wed, 9 Mar 2011 17:36:14 +0000 (23:06 +0530)]
dcaparse: Bump rank to primary+1
Seems to work fine with a reasonably wide range of media, so bumping
rank.
Sebastian Dröge [Thu, 24 Mar 2011 09:08:59 +0000 (10:08 +0100)]
aiffparse: Add support for 32 bit and 64 bit floating point formats
Sebastian Dröge [Thu, 24 Mar 2011 08:58:45 +0000 (09:58 +0100)]
aiffparse: The SSND header is 16 bytes large, not 8 + 16 bytes
Fixes bug #645568 and playback in pull mode for sample widths > 8 that
are not a multiple of 2 bytes (e.g. 24 bit samples).
Sebastian Dröge [Thu, 24 Mar 2011 08:29:06 +0000 (09:29 +0100)]
aiffparse: Use gst_util_uint64_scale_ceil() instead of a custom function
Arun Raghavan [Thu, 24 Mar 2011 08:13:01 +0000 (13:43 +0530)]
dtsdec: Don't export bitrate if open/variable/lossless
libdca returns the bitrate as 1/2/3 for open/variable/lossless files
respectively. This makes sure we don't emit these values.
Sebastian Dröge [Thu, 24 Mar 2011 08:22:56 +0000 (09:22 +0100)]
celtdec: Read the additional, optional extra headers from the caps too
Sebastian Dröge [Thu, 24 Mar 2011 08:14:10 +0000 (09:14 +0100)]
celtdec: Get and use streamheaders from the caps if possible
This allows playback of files where the streamheader buffers were
dropped for some reason and also sets the srcpad caps earlier.
David Schleef [Thu, 24 Mar 2011 05:53:56 +0000 (22:53 -0700)]
schroenc: Revert previous commit
It appears the patch, which I've been carrying around forever,
had been already applied.
David Schleef [Sun, 20 Feb 2011 22:16:18 +0000 (14:16 -0800)]
basevideo: merge utils header into basevideocodec
David Schleef [Fri, 31 Dec 2010 02:25:04 +0000 (18:25 -0800)]
schroenc: Output element message with frame stats
David Schleef [Sat, 26 Feb 2011 08:28:32 +0000 (00:28 -0800)]
patchdetect: new element
Detects Munsell ColorChecker in a video image and automatically
white balances and color corrects based on the detected values.
This element is only a demonstration at this stage, it needs to
be separated into two elements.
David Schleef [Sun, 27 Feb 2011 08:48:19 +0000 (00:48 -0800)]
decklink: Add decklink plugin
Source and sink elements for BlackMagic DeckLink SDI cards.
David Schleef [Fri, 18 Mar 2011 00:38:58 +0000 (17:38 -0700)]
linsys: Add plugin for Linear Systems SDI boards
David Schleef [Tue, 14 Sep 2010 18:30:33 +0000 (11:30 -0700)]
sdi: Add raw SDI muxing/demuxing elements
David Schleef [Fri, 18 Mar 2011 02:03:29 +0000 (19:03 -0700)]
logoinsert: Fix memleaks, add test
David Schleef [Mon, 15 Nov 2010 19:37:12 +0000 (11:37 -0800)]
logoinsert: Add data property
Robert Swain [Wed, 23 Mar 2011 14:49:18 +0000 (15:49 +0100)]
gst-camerabin2-test: Fix premature shutdown
We must wait for camerabin2's stop-capture procedures to finish before quitting
the main loop or firing off the next capture. If we get stuck waiting for
camerabin2 to become idle, this is a bug that needs fixing.
Thiago Santos [Wed, 23 Mar 2011 19:32:19 +0000 (16:32 -0300)]
camerabin2: Only mark video capture as finished after EOS
Instead of probing the videosink sinkpad for passing EOS, better
to wait for EOS from the bus.
This makes sure the filesink has already processed it and is
ready to close the file. This is used to notify applications
that camerabin2 is idle and can be shut down.
Robert Swain [Fri, 18 Mar 2011 14:49:12 +0000 (15:49 +0100)]
basecamerasrc: camerabin2: wrappercamerabinsrc: Add read-only max-zoom prop
This is not implemented in any of our real sources to which wrappercamerabinsrc
might connect but this is optional and can be implemented at any time. A
limit on the software zoom level using video{crop,scale} would be arbitrary.
Thiago Santos [Wed, 23 Mar 2011 15:38:36 +0000 (12:38 -0300)]
camerabin2: Improve idle property usage
Use resource warning messages to notify camerabin2 that a capture
as aborted or couldn't be started, making it decrement the
processing counter and making the idle property more reliable.
Thiago Santos [Tue, 22 Mar 2011 15:04:20 +0000 (12:04 -0300)]
camerabin2: No need to force audiosrc to null on stop_capture
Setting the audio source to null isn't needed and it could
make the EOS that is still flowing be dropped if autoaudiosrc
is used because its pads go flushing before the EOS gets pushed
from the real source.
Lauri Lehtinen [Tue, 22 Mar 2011 11:32:48 +0000 (08:32 -0300)]
basecamerabinsrc: Check if set preview caps are the same
Checks if the new received preview-caps are equal to what is
already in use, skips the preview-caps setting logic in case
new caps are same as current ones.
Thiago Santos [Tue, 15 Mar 2011 18:47:21 +0000 (15:47 -0300)]
tests: camerabin2: Adds another 'idle' test
Adds another test that checks that the idle property works
correctly when bogus start-capture calls are made.
This fails currently, but should remind us of fixing it in
the future by defining a proper error reporting from camera
sources to camerabin2
Thiago Santos [Tue, 15 Mar 2011 18:34:31 +0000 (15:34 -0300)]
tests: camerabin2: Sprinkle some 'idle' property checks
Adds some checks for 'idle' property in camerabin2 tests
Thiago Santos [Tue, 15 Mar 2011 18:11:01 +0000 (15:11 -0300)]
camerabin2: Adds new idle property
Adds idle property (just like camerabin1), a boolean that
is true when camerabin2 isn't processing and can be shut down
without losing data.
Thiago Santos [Tue, 15 Mar 2011 13:50:54 +0000 (10:50 -0300)]
tests: camerabin2: Adds tests for new image capture properties
Adds tests to check that changing encoder/muxer for image capture
works
Thiago Santos [Tue, 15 Mar 2011 13:11:43 +0000 (10:11 -0300)]
camerabin2: Adding properties for image capture settings
Adds properties for selecting image encoder and muxer for
image capture