Sebastian Dröge [Tue, 2 Aug 2011 13:14:24 +0000 (15:14 +0200)]
basevideoencoder: Make access to the list of frames threadsafe
Tim-Philipp Müller [Tue, 2 Aug 2011 22:53:08 +0000 (23:53 +0100)]
bayer: back around compiler warnings in orc-generated code by disabling -Werror for this plugin
https://bugzilla.gnome.org/show_bug.cgi?id=652677
Tim-Philipp Müller [Tue, 2 Aug 2011 21:57:15 +0000 (22:57 +0100)]
Fix some more variable-set-but-not-used compiler warnings
Robert Jobbagy [Tue, 2 Aug 2011 19:14:06 +0000 (21:14 +0200)]
camerabin2: examples: Fix camerabin2 G_OBJECT cast
Adds missing cast to fix build error.
Thiago Santos [Tue, 2 Aug 2011 13:49:09 +0000 (10:49 -0300)]
camerabin2: Workaround for ringbuffer not resyncing on READY
Add a workaround to fix timestamps meanwhile bug
https://bugzilla.gnome.org/show_bug.cgi?id=648359 is fixed.
Raluca Elena Podiuc [Sat, 30 Jul 2011 13:12:31 +0000 (16:12 +0300)]
camerabin2 remove redundant viewfinder-colorspace and viewfinder-scale
camrabin2 connects a viewfinderbin on "vfsrc". viewfinderbin is made of:
vfbin-csp ! vfbin-videoscale ! videosink.
we should either remove csp/videoscale from wrappercamerabinsrc (as
done in this patch) or we should get rid of viewfinderbin altogether.
Raluca Elena Podiuc [Tue, 26 Jul 2011 03:04:41 +0000 (06:04 +0300)]
basecamerasrc: remove unused get_allowed_input_caps
The use of this method was removed in:
commit
539f10f4d99e1a074881289254d1d109159cf9e5
basecamerasrc: More cleanup
The code from wrappercamerabinsrc is from v4l2camerasrc but is unused:
get_allowed_input_caps is not called anywhere.
Raluca Elena Podiuc [Tue, 26 Jul 2011 02:59:09 +0000 (05:59 +0300)]
basecamerasrc: don't use class offsets for start/stop-capture signal handlers
Raluca Elena Podiuc [Tue, 26 Jul 2011 02:43:34 +0000 (05:43 +0300)]
basecamerasrc: document why we set preview to PLAYING
Raluca Elena Podiuc [Tue, 26 Jul 2011 01:42:49 +0000 (04:42 +0300)]
basecamerasrc: document callbacks
Note for each callback:
- when it is called,
- whether it is mandatory or optional.
Raluca Elena Podiuc [Tue, 26 Jul 2011 00:04:47 +0000 (03:04 +0300)]
basecamerabinsrc: preview: remove unused new_preroll callback
Teemu Katajisto [Thu, 28 Jul 2011 16:18:57 +0000 (13:18 -0300)]
camerabin2: Synchronize clock and base time to audiosrc
When audio source goes to READY it loses its clock and base time,
this patch sets them back after bringing the audio source back to PAUSED.
Robert Swain [Thu, 28 Jul 2011 15:56:12 +0000 (12:56 -0300)]
camerabin2: Prevent audio source from providing clock
The audio source inside camerabin2 is put to READY and back to
PLAYING when starting capture, causing the pipeline to lose its
clock. As camerabin2 isn't put to PAUSED->PLAYING again during
this, a new clock isn't selected for elements.
Robert Swain [Thu, 30 Jun 2011 09:09:44 +0000 (11:09 +0200)]
camerabin2: Add flags prop to toggle encodebin conversion elements
A flags property has been added to encodebin to toggle whether the
conversion elements (ffmpegcolorspace, videoscale, audioconvert,
audioresample, audiorate) are created and linked into the appropriate
branches of encodebin.
Not including these elements avoids some slow caps negotiation and
allows the first buffers to flow through encodebin much more quickly.
However, it imposes that the uncompressed input is appropriate for the
target profile and elements selected to meet that profile.
Robert Swain [Wed, 29 Jun 2011 13:35:42 +0000 (15:35 +0200)]
camerabin2: Prepare audiosrc before start-capture
If we bring the audio source up to the PAUSED state before emitting the
start-capture signal to the camera source, when subequently taking the
audio source to the PLAYING state, it will begin capture more quickly.
Robert Swain [Wed, 29 Jun 2011 13:18:47 +0000 (15:18 +0200)]
camerabin2: Remove redundant elements
Since camerabin2 has switched to encodebin and encodebin has its own
queues and conversion elements, those preceding encodebin are no longer
necessary and as such can be removed.
Edward Hervey [Mon, 1 Aug 2011 16:49:55 +0000 (18:49 +0200)]
tsdemux: Take into account upstream newsegment events
If the incoming newsegment event was in time, use that position value
for the downstream newsegments.
Edward Hervey [Mon, 1 Aug 2011 16:48:03 +0000 (18:48 +0200)]
hlsdemux: Send NEWSEGMENT events
Previously hlsdemux wasn't sending out any newsegment.
Here we push a GST_FORMAT_TIME newsegment, and whenever possible we
try to indicate the proper start time.
This allows downstream elements to relay the start/time values properly
to the sinks, allowing better stream switching.
Edward Hervey [Mon, 1 Aug 2011 13:46:12 +0000 (15:46 +0200)]
mpegtsbase: Remove programs on EOS
Allows subclasses to properly flush out pending data.
Edward Hervey [Mon, 1 Aug 2011 08:54:16 +0000 (10:54 +0200)]
tsdemux: Refactor stream/program removal
The program_stopped vmethod was called before stream_removed vmethod
was being called. Since we only did stream-related operations in there,
we just remove the program_stopped vmethod and do everything in the
stream_removed one.
Also, make sure we flush out all pending data before sending EOS.
Nicolas Dufresne [Thu, 28 Jul 2011 22:21:04 +0000 (18:21 -0400)]
mpegtsbase: Prevent stack gardening by using the right type
stream_type is stored as guint inside the GstStructure but was retreived
using valist with a pointer to guint16. This would cause stack gardening
when code is compiled without optimisation (e.g. in -O0 the compiler wont
pad the stack to optimise out required mask).
https://bugzilla.gnome.org/show_bug.cgi?id=655540
Tim-Philipp Müller [Fri, 29 Jul 2011 20:26:41 +0000 (21:26 +0100)]
tests: fix compiler warning in faad unit test
Tim-Philipp Müller [Fri, 29 Jul 2011 18:43:11 +0000 (19:43 +0100)]
id3mux: use now-public GstTagMux base class from libgsttag
Tim-Philipp Müller [Thu, 28 Jul 2011 19:38:37 +0000 (20:38 +0100)]
tagmux: require subclass to install sink pad template
Require the subclass to install both source and sink pad
templates. Also, print some warnings if the subclass doesn't
do that.
https://bugzilla.gnome.org/show_bug.cgi?id=555437
Robert Jobbagy [Wed, 27 Jul 2011 20:34:23 +0000 (22:34 +0200)]
gstmotioncells_dynamic_test: test tool what can to do dynamic change properties
Robert Jobbagy [Wed, 27 Jul 2011 16:58:15 +0000 (18:58 +0200)]
motioncells: new element to detect areas of motion
Edward Hervey [Tue, 26 Jul 2011 15:02:05 +0000 (17:02 +0200)]
hsldemux: Handle change of media types
When switching bitrates, we might end up switching to a different
media-type (like from aac to/from mpeg-ts).
For this switch to behave properly in decodebin2, this patch adds:
* dynamic source pads (which will be added/removed whenever a stream
media type changes
* re-checking the fragment media type whenever we switch to a different
playlist
Edward Hervey [Tue, 26 Jul 2011 11:47:04 +0000 (13:47 +0200)]
mpeg4videoparse: Fix unitialized variable on old compilers
Olaf Seibert [Wed, 27 Jul 2011 10:02:41 +0000 (11:02 +0100)]
hlsdemux: fix wrong usage of GST_ELEMENT_ERROR macros and compilation on NetBSD
https://bugzilla.gnome.org/show_bug.cgi?id=655319
Tim-Philipp Müller [Wed, 27 Jul 2011 09:56:15 +0000 (10:56 +0100)]
pcapparse: fix compiler warning
gstpcapparse.c: In function 'gst_pcap_parse_chain':
gstpcapparse.c:381:6: error: 'eth_type' may be used uninitialized in this function [-Werror=uninitialized]
gstpcapparse.c:354:11: note: 'eth_type' was declared here
Felipe Contreras [Tue, 26 Jul 2011 16:11:16 +0000 (19:11 +0300)]
pcapparse: fix SLL parsing
The current code is not checking for ethernet type, as it's supposed to,
but link layer device type and it's hard-coded to only accept dumps from
ethernet (ARPHRD_ETHER; 1). We don't care where the dump was fetched
from (wlan, 3G, etc.)
What we care about is the that the ethernet type is IP (ETHERNET_IP;
0x800), which is clearly field 14:
http://www.tcpdump.org/pcap3_man.html
And do a bit of cleanup.
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
Edward Hervey [Thu, 21 Jul 2011 11:26:55 +0000 (13:26 +0200)]
mpegtsbase/tsdemux: Fix stream/pad activation order
We first activate new streams before shutting down old ones.
We emit no-more-pads after we add new streams and emit EOS before
removing old ones.
Also cleanup/refactor a bit more of the code accordingly
Raluca Elena Podiuc [Fri, 22 Jul 2011 09:26:07 +0000 (12:26 +0300)]
camerabin2: add location=NULL docs to PORTING
https://bugzilla.gnome.org/show_bug.cgi?id=641918
Thiago Santos [Fri, 22 Jul 2011 08:38:30 +0000 (11:38 +0300)]
camerabin2: If location is NULL do not encode images
Using a NULL string for location means that the application
doesn't want the image to be encoded, but wants to receive
the preview image. (Only works for image captures)
Useful for application that want the capture in memory only, like
displaying to the user before it choses to encode or take another
picture in avatar capturing scenarios.
https://bugzilla.gnome.org/show_bug.cgi?id=641918
Sebastian Dröge [Thu, 21 Jul 2011 06:04:11 +0000 (08:04 +0200)]
schroenc: Update for GstBaseVideoEncoder::finish() signature change
Sebastian Dröge [Thu, 21 Jul 2011 06:03:51 +0000 (08:03 +0200)]
vp8enc: Update for GstBaseVideoEncoder::finish() signature change
Sebastian Dröge [Thu, 21 Jul 2011 06:03:27 +0000 (08:03 +0200)]
diracenc: Update for GstBaseVideoEncoder::finish() signature change
Sebastian Dröge [Thu, 21 Jul 2011 05:44:10 +0000 (05:44 +0000)]
basevideoencoder: Allow finishing of frames with no src_buffer to drop/free the GstVideoFrame
Sebastian Dröge [Wed, 20 Jul 2011 08:39:51 +0000 (08:39 +0000)]
basevideoencoder: Only get caps from the subclass if they were not set yet by the subclass
Sebastian Dröge [Wed, 20 Jul 2011 07:25:28 +0000 (09:25 +0200)]
basevideoencoder: Delay sending of serialized sink events until finish_frame()
Sebastian Dröge [Wed, 20 Jul 2011 07:09:25 +0000 (09:09 +0200)]
basevideoencoder: Add ::reset vfunc and handle ::reset/::finish the same way as in the decoder
Edward Hervey [Wed, 20 Jul 2011 17:16:05 +0000 (19:16 +0200)]
pesparse: Fix stuffing byte handling
We in fact get the size of the header (including stuffing bytes), therefore
use that instead of trying to skip 0xff bytes ourselves since some media
streams do start with 0xff (like mpeg audio's initial 0xfff).
Nicolas Dufresne [Mon, 18 Jul 2011 18:53:31 +0000 (14:53 -0400)]
Fix compilation for unused but not set
https://bugzilla.gnome.org/show_bug.cgi?id=654572
Alessandro Decina [Wed, 20 Jul 2011 06:57:47 +0000 (08:57 +0200)]
mpegtsdemux: fix compiler warnings
Sebastian Dröge [Tue, 19 Jul 2011 10:50:43 +0000 (12:50 +0200)]
basevideoencoder: Use a temporary GstVideoState until the subclass accepted the caps
Also store the caps in the GstVideoState and assume a PAR of 1/1 instead
of 0/1 if no PAR is specified in the caps.
Edward Hervey [Tue, 19 Jul 2011 07:36:53 +0000 (09:36 +0200)]
mpegtsbase/tsdemux: Add more comments and removal unused variable
Edward Hervey [Tue, 19 Jul 2011 07:36:10 +0000 (09:36 +0200)]
mpegtsbase: Avoid double removal of streams
This can happen if the PCR pid is the same as a audio/video PID.
Edward Hervey [Tue, 19 Jul 2011 07:34:37 +0000 (09:34 +0200)]
mpegtsbase: Add a GList of streams to the program
Allows faster iteration of all program streams.
We still keep the Array to allow fast retrieval of stream by PID.
Edward Hervey [Tue, 19 Jul 2011 06:45:51 +0000 (08:45 +0200)]
mpegtsbase: Use a bit array instead of an array of gboolean
Makes know_psi and is_pes 32 times smaller
Sebastian Dröge [Tue, 19 Jul 2011 06:37:24 +0000 (08:37 +0200)]
pcapparse: Fix format string compiler warning
Sreerenj Balachandran [Mon, 18 Jul 2011 11:14:31 +0000 (14:14 +0300)]
dfbvideosink: fix harmless typo in variable initialization
https://bugzilla.gnome.org/show_bug.cgi?id=654840
Alessandro Decina [Tue, 12 Jul 2011 17:04:27 +0000 (19:04 +0200)]
h264parse: remove a check made useless by the last commit
Alessandro Decina [Tue, 12 Jul 2011 17:01:47 +0000 (19:01 +0200)]
h264parse: assume byte-stream if stream-format and codec_data are missing from input caps
Alessandro Decina [Wed, 6 Jul 2011 21:24:27 +0000 (23:24 +0200)]
h264parse: ignore codec_data if stream-format=byte-stream
Some encoders set codec_data even when outputting byte-stream. Before this patch
h264parse would incorrectly detect such streams as AVC.
Edward Hervey [Mon, 18 Jul 2011 07:12:16 +0000 (09:12 +0200)]
tsdemux: Use standalone PES parser
Edward Hervey [Sun, 17 Jul 2011 12:17:10 +0000 (14:17 +0200)]
mpegtsdemux: Add standalone PES parser
Edward Hervey [Sun, 17 Jul 2011 07:49:06 +0000 (09:49 +0200)]
mpegdefs: clarify some stream ids
Edward Hervey [Sat, 16 Jul 2011 11:51:44 +0000 (13:51 +0200)]
tsdemux: whoops, tsdemux isn't ready yet for primary rank :)
Edward Hervey [Sat, 16 Jul 2011 11:47:45 +0000 (13:47 +0200)]
mpegtsbase/tsdemux: Cleanups and comments
Edward Hervey [Sat, 16 Jul 2011 11:44:00 +0000 (13:44 +0200)]
tsdemux: Fix newsegment creation for push mode
And all relevent comments to what it should be doing, refactor everything
a bit. Still not perfect ... but better.
Fixes #654657
Edward Hervey [Fri, 15 Jul 2011 10:08:40 +0000 (12:08 +0200)]
mpegtsbase: Store incoming newsegments
Tim-Philipp Müller [Fri, 15 Jul 2011 19:57:47 +0000 (20:57 +0100)]
tagmux: const-ify GstTagList argument of render vfuncs
Tim-Philipp Müller [Fri, 15 Jul 2011 19:39:20 +0000 (20:39 +0100)]
tagmux: fix up private base class header so it can be made public
Move private bits into a private struct, add some padding.
https://bugzilla.gnome.org/show_bug.cgi?id=555437
Tim-Philipp Müller [Fri, 15 Jul 2011 15:10:57 +0000 (16:10 +0100)]
We need core/base from git
Update requirements after out-of-order 0.10.35 release
Raluca Elena Podiuc [Wed, 13 Jul 2011 14:15:36 +0000 (17:15 +0300)]
tests: camerabin2: fix name of 'image-done' bus message
Use the correct bus message for camerabin2 image done and removes
check that is no longer needed for these tests.
Mark Nauwelaerts [Fri, 15 Jul 2011 08:04:53 +0000 (10:04 +0200)]
pcapparse: rename offset property to ts-offset
... so as to promote consistency with some other elements in the wild.
Tim-Philipp Müller [Thu, 14 Jul 2011 18:30:45 +0000 (19:30 +0100)]
vdpau: fix some variable-set-but-unused compiler warnings
Alessandro Decina [Thu, 14 Jul 2011 22:03:10 +0000 (00:03 +0200)]
mpegtsbase: actually set seen_pat=TRUE when we see a PAT
Alessandro Decina [Sun, 26 Jun 2011 18:32:53 +0000 (20:32 +0200)]
neonhttpsrc: implement URI query
Edward Hervey [Thu, 14 Jul 2011 20:08:56 +0000 (22:08 +0200)]
mpegtsbase: Split up whether we saw a PAT and its offset
Fixes the issue with streams that don't set an offset on their buffers,
like those coming from hlsdemux.
Fixes #653481
Mark Nauwelaerts [Thu, 14 Jul 2011 15:06:38 +0000 (17:06 +0200)]
pcapparse: properly apply ts offset
Mark Nauwelaerts [Thu, 14 Jul 2011 14:50:29 +0000 (16:50 +0200)]
pcapparse: optionally output relative timestamps, possibly shifted by offset
That is, output timestamps can then either be the absolute capture time,
or the relative capture time (w.r.t. to first output buffer), or the relative
capture time incremented by some offset.
Mark Nauwelaerts [Thu, 14 Jul 2011 14:40:14 +0000 (16:40 +0200)]
pcapparse: also support extracting tcp data
Tim-Philipp Müller [Thu, 14 Jul 2011 13:37:14 +0000 (14:37 +0100)]
tests: add some more unit test binaries to .gitignore
Olivier Crête [Wed, 13 Jul 2011 17:44:41 +0000 (13:44 -0400)]
docs: Revert wrongly committed changes to .args/.hierarchy
Olivier Crête [Wed, 13 Jul 2011 17:42:09 +0000 (13:42 -0400)]
mpegvideoparse: Restore some unused variables as comments
Olivier Crête [Wed, 13 Jul 2011 17:39:46 +0000 (13:39 -0400)]
mpegtsdemux: Restore erroneously removed data++
Also, put back some unused code in comment and replace // comments by /* */
Olivier Crête [Wed, 13 Jul 2011 17:38:31 +0000 (13:38 -0400)]
mpegdemux: Restore erroneously removed data++
Also, put back some unused code in comment and replace // comments by /* */
Sebastian Dröge [Wed, 13 Jul 2011 08:42:36 +0000 (10:42 +0200)]
schroedinger: Fix compilation and set-but-not-used compiler warnings
Sebastian Dröge [Wed, 13 Jul 2011 08:33:58 +0000 (10:33 +0200)]
diracenc: Fix compilation by including the new gstbasevideoutils.h header and fixing some set but not used compiler warnings
Olivier Crête [Tue, 12 Jul 2011 22:22:35 +0000 (18:22 -0400)]
examples/camerabin: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:20:23 +0000 (18:20 -0400)]
jp2k: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:18:30 +0000 (18:18 -0400)]
resindvd: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:16:54 +0000 (18:16 -0400)]
cog: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:13:56 +0000 (18:13 -0400)]
dvb: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:10:42 +0000 (18:10 -0400)]
videomeasure: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:09:26 +0000 (18:09 -0400)]
tta: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:08:21 +0000 (18:08 -0400)]
sdi: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:05:25 +0000 (18:05 -0400)]
vp8: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 22:03:53 +0000 (18:03 -0400)]
rtpvp8: Reject unknown bitstream versions
Olivier Crête [Tue, 12 Jul 2011 21:59:56 +0000 (17:59 -0400)]
videoparsers: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 21:57:45 +0000 (17:57 -0400)]
pcapparse: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 21:56:25 +0000 (17:56 -0400)]
mpegvideoparse: Fix set-but-unused warnings
Olivier Crête [Tue, 12 Jul 2011 21:53:33 +0000 (17:53 -0400)]
mpegdemux: Fix unused-but-set warnings
Olivier Crête [Tue, 12 Jul 2011 21:50:27 +0000 (17:50 -0400)]
mpegtsdemux: Fix unused-but-set warnings
Sameer Naik [Mon, 11 Jul 2011 19:48:16 +0000 (01:18 +0530)]
mpegtsmux: fix segfault if gst_collect_pads_pop () returns no buffer
In mpegtsmux_choose_best_stream () call if the gst_collect_pads_pop () call
returns no buffer (NULL), the plugin SegFaults in the gst_buffer_unref call.
To fix this we check if a valid buffer is returned before calling
gst_buffer_unref ().
Fixes bug #654416.
Sebastian Dröge [Mon, 11 Jul 2011 10:59:07 +0000 (12:59 +0200)]
basevideodecoder: First inform subclass about resetting before resetting/freeing all internal state
The subclass might want to access the old state.
Sebastian Dröge [Mon, 11 Jul 2011 10:36:42 +0000 (12:36 +0200)]
basevideodecoder: Track present position on discont before resetting it
Sebastian Dröge [Mon, 11 Jul 2011 09:52:33 +0000 (11:52 +0200)]
basevideodecoder: Also protect the list of pending frames from concurrent access when pushing all pendings events
Sebastian Dröge [Mon, 11 Jul 2011 09:28:40 +0000 (11:28 +0200)]
basevideocodec: Protect access to the list of pending frames with the object lock
This is required if ::finish_frame() and all buffer output happens
on a different thread than the sinkpad streaming thread.