platform/upstream/gstreamer.git
12 years agompeg4videoparse: Use gst_bit_reader_skip to skip more than 32 bits.
George Kiagiadakis [Tue, 16 Aug 2011 16:47:02 +0000 (19:47 +0300)]
mpeg4videoparse: Use gst_bit_reader_skip to skip more than 32 bits.

GET_BITS is a macro for gst_bit_reader_get_bits_uint32, which cannot
read more than 32 bits and will fail in this case where it is called
to read 79 bits. Since we want to skip those bits, gst_bit_reader_skip
is more appropriate in this case.

12 years agoqtkitvideosrc: get the framerate from caps
Alessandro Decina [Mon, 15 Aug 2011 00:08:14 +0000 (02:08 +0200)]
qtkitvideosrc: get the framerate from caps

...and configure QTKit accordingly. Hardcoding to 30fps was pretty -bad.

12 years agotests: camerabin2: Add test for audio-filter property
Thiago Santos [Sat, 13 Aug 2011 18:55:01 +0000 (15:55 -0300)]
tests: camerabin2: Add test for audio-filter property

Checks that the audio-filter is properly plugged in the pipeline
and receives buffers when recording a video.

12 years agocamerabin2: Add audio-filter property
Thiago Santos [Thu, 11 Aug 2011 21:59:07 +0000 (18:59 -0300)]
camerabin2: Add audio-filter property

Adds a property to add a custom GstElement to the audio
branch of the pipeline. This allows the user to do custom audio
processing/analysis when recording videos.

12 years agobasevisualizer: add more shader variants and simplify code
Stefan Kost [Fri, 12 Aug 2011 20:39:53 +0000 (22:39 +0200)]
basevisualizer: add more shader variants and simplify code

Use macros to simplyfy the shading code. Those will ease to add support for
other colorspaces in the future. Add more variants for the shading (left,right,
horiz-in, vert-out, vert-in).

12 years agobasevisualizer: more docs
Stefan Kost [Fri, 12 Aug 2011 19:22:20 +0000 (21:22 +0200)]
basevisualizer: more docs

12 years agobaseaudiovisualizer: protect config with a lock
Stefan Kost [Fri, 12 Aug 2011 19:18:44 +0000 (21:18 +0200)]
baseaudiovisualizer: protect config with a lock

Before it was easy to crash the elements when using a ximagesink and triggering
renegotiation by resizing.

12 years agospectrascope: make a copy of the audiodata before downmixing and windowing
Stefan Kost [Fri, 12 Aug 2011 14:57:49 +0000 (16:57 +0200)]
spectrascope: make a copy of the audiodata before downmixing and windowing

The buffers come from the adapter and the data might overlap. We don't want to
modify it in place.

12 years agobasevideoencoder: Proxy the width/height/framerate/PAR constraints of downstream...
Sebastian Dröge [Fri, 12 Aug 2011 10:25:03 +0000 (12:25 +0200)]
basevideoencoder: Proxy the width/height/framerate/PAR constraints of downstream caps to upstream

This allows to specify constraints on the compressed downstream caps
by muxers or capsfilters, which will then be forwarded to upstream
and allows video converters to fulfill the constraints.

Code based on Mark Nauwelaerts audio encoder base class.

12 years agobasevideoencoder: Remove old ::getcaps() comment
Sebastian Dröge [Fri, 12 Aug 2011 10:13:45 +0000 (12:13 +0200)]
basevideoencoder: Remove old ::getcaps() comment

12 years agodiracenc: Update for basevideoencoder ::get_caps() removal
Sebastian Dröge [Fri, 12 Aug 2011 10:08:32 +0000 (12:08 +0200)]
diracenc: Update for basevideoencoder ::get_caps() removal

12 years agoschroenc: Update for basevideoencoder ::get_caps() removal
Sebastian Dröge [Fri, 12 Aug 2011 10:08:20 +0000 (12:08 +0200)]
schroenc: Update for basevideoencoder ::get_caps() removal

12 years agovp8enc: Update for basevideoencoder ::get_caps() removal
Sebastian Dröge [Fri, 12 Aug 2011 10:08:08 +0000 (12:08 +0200)]
vp8enc: Update for basevideoencoder ::get_caps() removal

12 years agobasevideoencoder: Remove ::get_caps() vfunc
Sebastian Dröge [Fri, 12 Aug 2011 10:06:23 +0000 (12:06 +0200)]
basevideoencoder: Remove ::get_caps() vfunc

Subclasses can set the caps more efficiently and this only
caused additional indirections.

12 years agomxf: do not assert on the values of data read from input
Vincent Penquerc'h [Tue, 9 Aug 2011 08:29:21 +0000 (09:29 +0100)]
mxf: do not assert on the values of data read from input

Instead, log a warning, and return.

https://bugzilla.gnome.org/show_bug.cgi?id=563827

12 years agobasevideodecoder: Use the cached video frame size instead of recalculating it
Sebastian Dröge [Wed, 3 Aug 2011 14:02:01 +0000 (16:02 +0200)]
basevideodecoder: Use the cached video frame size instead of recalculating it

12 years agoschroedinger: Fix set but unused variables
Sjoerd Simons [Mon, 8 Aug 2011 15:53:16 +0000 (17:53 +0200)]
schroedinger: Fix set but unused variables

Remove some dead code that triggers "set but unused variables"
from Gcc 4.6.  Fixes #656166

Signed-off-by: David Schleef <ds@schleef.org>
12 years agodirac: Fix set but unused variables
Sjoerd Simons [Mon, 8 Aug 2011 14:44:20 +0000 (16:44 +0200)]
dirac: Fix set but unused variables

Remove some dead code that triggers "set but unused variables" from Gcc
4.6.  Fixes #656164.

Signed-off-by: David Schleef <ds@schleef.org>
12 years agocamerabin2: Adding video-done message
Thiago Santos [Sat, 6 Aug 2011 15:13:22 +0000 (12:13 -0300)]
camerabin2: Adding video-done message

video-done message will be posted when a video recording is
finished. Similar to image-done message.

12 years agocamerabin2: Adding top-level element documentation
Thiago Santos [Fri, 5 Aug 2011 18:48:53 +0000 (15:48 -0300)]
camerabin2: Adding top-level element documentation

12 years agocamerabin2: Fixing typo
Thiago Santos [Fri, 5 Aug 2011 16:34:08 +0000 (13:34 -0300)]
camerabin2: Fixing typo

12 years agomotioncells: turn two global vars into static variables
Stefan Sauer [Thu, 4 Aug 2011 11:33:20 +0000 (13:33 +0200)]
motioncells: turn two global vars into static variables

Move 2 variable to motioncells_warpper and make them static.

12 years agoexamples: Add missing header file
Edward Hervey [Thu, 4 Aug 2011 11:33:56 +0000 (13:33 +0200)]
examples: Add missing header file

12 years agodecklink: Add gstdecklink.h to list of headers
Edward Hervey [Thu, 4 Aug 2011 09:28:30 +0000 (11:28 +0200)]
decklink: Add gstdecklink.h to list of headers

12 years agompegvideoparse: fix sequence header parsing
Alessandro Decina [Thu, 4 Aug 2011 07:49:46 +0000 (09:49 +0200)]
mpegvideoparse: fix sequence header parsing

After bitrate there's 11 bits (1 marker bit + VBV buffer size) before the load
intra quantiser flag.

12 years agophotography: add missing FLICKER_REDUCTION capability
Tommi Myöhänen [Thu, 21 Jul 2011 05:58:27 +0000 (08:58 +0300)]
photography: add missing FLICKER_REDUCTION capability

GstPhotography API contains functions to get/set flicker reduction
mode, but GstPhotoCaps enumeration doesn't have item for it, so elements
are not able to report whether they support this feature or not.
Also add useful GST_PHOTOGRAPHY_CAPS_ALL for easily selecting all
capabilities at once.

https://bugzilla.gnome.org/show_bug.cgi?id=655318

12 years agosubenc: Add webvttenc element
David Schleef [Wed, 3 Aug 2011 20:37:28 +0000 (13:37 -0700)]
subenc: Add webvttenc element

12 years agokateenc: Fix uninitialized error
David Schleef [Wed, 3 Aug 2011 20:35:41 +0000 (13:35 -0700)]
kateenc: Fix uninitialized error

12 years agoschroenc: remove shape_output handling
David Schleef [Sun, 10 Jul 2011 06:22:26 +0000 (23:22 -0700)]
schroenc: remove shape_output handling

12 years agodiracenc: Remove unused shape_output code
David Schleef [Sun, 10 Jul 2011 06:07:39 +0000 (23:07 -0700)]
diracenc: Remove unused shape_output code

12 years agovp8enc: Add more properties
David Schleef [Sun, 10 Jul 2011 01:53:24 +0000 (18:53 -0700)]
vp8enc: Add more properties

12 years agovp8enc: add min/maxsection-pct option
Alexey Fisher [Sun, 19 Jun 2011 14:06:46 +0000 (16:06 +0200)]
vp8enc: add min/maxsection-pct option

This options should be good to redeuce decode CPU load.
for lowend hardware:
minsection-pct=15 maxsection-pct=400

for hiend hw:
minsection-pct=5 maxsection-pct=800

see example:
http://www.webmproject.org/tools/encoder-parameters/#2-pass_vbr_encoding_for_smooth_playback_on_low-end_hardware

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: David Schleef <ds@schleef.org>
12 years agovp8enc: add lag-in-frames option.
Alexey Fisher [Sun, 19 Jun 2011 09:05:36 +0000 (11:05 +0200)]
vp8enc: add lag-in-frames option.

This option set maximum of frames codec should remember,
to make better prediktion for alt-ref frames.

See example:
http://www.webmproject.org/tools/encoder-parameters/#2-pass_best_quality_vbr_encoding

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: David Schleef <ds@schleef.org>
12 years agovp8enc: use multipass.cache file name as default for multipass mode.
Alexey Fisher [Sun, 19 Jun 2011 05:16:57 +0000 (07:16 +0200)]
vp8enc: use multipass.cache file name as default for multipass mode.

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
Signed-off-by: David Schleef <ds@schleef.org>
12 years agofaac: Add properties for VBR encoding
Mukul Majmudar [Sat, 9 Jul 2011 20:05:07 +0000 (16:05 -0400)]
faac: Add properties for VBR encoding

Property "quality" to specify VBR quantizer quality and property
"brtype" to choose between ABR and VBR encoding. The default is now VBR
with quality=100.

Fixes bug #654310.

Signed-off-by: David Schleef <ds@schleef.org>
12 years agodecklink: Add audio-input property
David Schleef [Thu, 7 Jul 2011 23:07:50 +0000 (16:07 -0700)]
decklink: Add audio-input property

12 years agointer: Adding missing base requirements.
Tim 'mithro' Ansell [Mon, 18 Jul 2011 05:25:05 +0000 (15:25 +1000)]
inter: Adding missing base requirements.

Fixes: #654806.

12 years agocamerabin2: add more missing plugin checks
Thiago Santos [Wed, 3 Aug 2011 18:21:17 +0000 (15:21 -0300)]
camerabin2: add more missing plugin checks

Sprinkle some more missing plugin checks around

12 years agocamerabin2: Add a missing element check and remove TODO
Thiago Santos [Wed, 3 Aug 2011 16:12:18 +0000 (13:12 -0300)]
camerabin2: Add a missing element check and remove TODO

Add missing element checks for elements created at _init
functions and remove TODO about it

12 years agocamerabin2: Remove redundant image-queue
Thiago Santos [Wed, 3 Aug 2011 16:57:09 +0000 (13:57 -0300)]
camerabin2: Remove redundant image-queue

Encodebin is used for image encoding and it already contains
a queue, so we can remove camerabin2 image queue.

12 years agodvbsuboverlay: fix up copyrights
Tim-Philipp Müller [Wed, 3 Aug 2011 12:42:20 +0000 (13:42 +0100)]
dvbsuboverlay: fix up copyrights

12 years agogst-camerabin2-test: Add audio capture caps option
Robert Swain [Wed, 29 Jun 2011 13:14:29 +0000 (15:14 +0200)]
gst-camerabin2-test: Add audio capture caps option

12 years agobasevideoencoder: Make access to the list of frames threadsafe
Sebastian Dröge [Tue, 2 Aug 2011 13:14:24 +0000 (15:14 +0200)]
basevideoencoder: Make access to the list of frames threadsafe

12 years agobayer: back around compiler warnings in orc-generated code by disabling -Werror for...
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

12 years agoFix some more variable-set-but-not-used compiler warnings
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

12 years agocamerabin2: examples: Fix camerabin2 G_OBJECT cast
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.

12 years agocamerabin2: Workaround for ringbuffer not resyncing on READY
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.

12 years agocamerabin2 remove redundant viewfinder-colorspace and viewfinder-scale
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.

12 years agobasecamerasrc: remove unused get_allowed_input_caps
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.

12 years agobasecamerasrc: don't use class offsets for start/stop-capture signal handlers
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

12 years agobasecamerasrc: document why we set preview to PLAYING
Raluca Elena Podiuc [Tue, 26 Jul 2011 02:43:34 +0000 (05:43 +0300)]
basecamerasrc: document why we set preview to PLAYING

12 years agobasecamerasrc: document callbacks
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.

12 years agobasecamerabinsrc: preview: remove unused new_preroll callback
Raluca Elena Podiuc [Tue, 26 Jul 2011 00:04:47 +0000 (03:04 +0300)]
basecamerabinsrc: preview: remove unused new_preroll callback

12 years agocamerabin2: Synchronize clock and base time to audiosrc
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.

12 years agocamerabin2: Prevent audio source from providing clock
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.

12 years agocamerabin2: Add flags prop to toggle encodebin conversion 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.

12 years agocamerabin2: Prepare audiosrc before start-capture
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.

12 years agocamerabin2: Remove redundant elements
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.

12 years agotsdemux: Take into account upstream newsegment events
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.

12 years agohlsdemux: Send NEWSEGMENT events
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.

12 years agompegtsbase: Remove programs on EOS
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.

12 years agotsdemux: Refactor stream/program removal
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.

12 years agompegtsbase: Prevent stack gardening by using the right type
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

12 years agotests: fix compiler warning in faad unit test
Tim-Philipp Müller [Fri, 29 Jul 2011 20:26:41 +0000 (21:26 +0100)]
tests: fix compiler warning in faad unit test

12 years agoid3mux: use now-public GstTagMux base class from libgsttag
Tim-Philipp Müller [Fri, 29 Jul 2011 18:43:11 +0000 (19:43 +0100)]
id3mux: use now-public GstTagMux base class from libgsttag

12 years agotagmux: require subclass to install sink pad template
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

12 years agogstmotioncells_dynamic_test: test tool what can to do dynamic change properties
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

12 years agomotioncells: new element to detect areas of motion
Robert Jobbagy [Wed, 27 Jul 2011 16:58:15 +0000 (18:58 +0200)]
motioncells: new element to detect areas of motion

12 years agohsldemux: Handle change of media types
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

12 years agompeg4videoparse: Fix unitialized variable on old compilers
Edward Hervey [Tue, 26 Jul 2011 11:47:04 +0000 (13:47 +0200)]
mpeg4videoparse: Fix unitialized variable on old compilers

12 years agohlsdemux: fix wrong usage of GST_ELEMENT_ERROR macros and compilation on NetBSD
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

12 years agopcapparse: fix compiler warning
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

12 years agopcapparse: fix SLL parsing
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>
12 years agompegtsbase/tsdemux: Fix stream/pad activation order
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

12 years agocamerabin2: add location=NULL docs to PORTING
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

12 years agocamerabin2: If location is NULL do not encode images
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

13 years agoschroenc: Update for GstBaseVideoEncoder::finish() signature change
Sebastian Dröge [Thu, 21 Jul 2011 06:04:11 +0000 (08:04 +0200)]
schroenc: Update for GstBaseVideoEncoder::finish() signature change

13 years agovp8enc: 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

13 years agodiracenc: 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

13 years agobasevideoencoder: Allow finishing of frames with no src_buffer to drop/free the GstVi...
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

13 years agobasevideoencoder: Only get caps from the subclass if they were not set yet by the...
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

13 years agobasevideoencoder: Delay sending of serialized sink events until finish_frame()
Sebastian Dröge [Wed, 20 Jul 2011 07:25:28 +0000 (09:25 +0200)]
basevideoencoder: Delay sending of serialized sink events until finish_frame()

13 years agobasevideoencoder: Add ::reset vfunc and handle ::reset/::finish the same way as in...
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

13 years agopesparse: Fix stuffing byte handling
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).

13 years agoFix compilation for unused but not set
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

13 years agompegtsdemux: fix compiler warnings
Alessandro Decina [Wed, 20 Jul 2011 06:57:47 +0000 (08:57 +0200)]
mpegtsdemux: fix compiler warnings

13 years agobasevideoencoder: Use a temporary GstVideoState until the subclass accepted the caps
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.

13 years agompegtsbase/tsdemux: Add more comments and removal unused variable
Edward Hervey [Tue, 19 Jul 2011 07:36:53 +0000 (09:36 +0200)]
mpegtsbase/tsdemux: Add more comments and removal unused variable

13 years agompegtsbase: Avoid double removal of streams
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.

13 years agompegtsbase: Add a GList of streams to the program
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.

13 years agompegtsbase: Use a bit array instead of an array of gboolean
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

13 years agopcapparse: Fix format string compiler warning
Sebastian Dröge [Tue, 19 Jul 2011 06:37:24 +0000 (08:37 +0200)]
pcapparse: Fix format string compiler warning

13 years agodfbvideosink: fix harmless typo in variable initialization
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

13 years agoh264parse: remove a check made useless by the last commit
Alessandro Decina [Tue, 12 Jul 2011 17:04:27 +0000 (19:04 +0200)]
h264parse: remove a check made useless by the last commit

13 years agoh264parse: assume byte-stream if stream-format and codec_data are missing from input...
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

13 years agoh264parse: ignore codec_data if stream-format=byte-stream
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.

13 years agotsdemux: Use standalone PES parser
Edward Hervey [Mon, 18 Jul 2011 07:12:16 +0000 (09:12 +0200)]
tsdemux: Use standalone PES parser

13 years agompegtsdemux: Add standalone PES parser
Edward Hervey [Sun, 17 Jul 2011 12:17:10 +0000 (14:17 +0200)]
mpegtsdemux: Add standalone PES parser

13 years agompegdefs: clarify some stream ids
Edward Hervey [Sun, 17 Jul 2011 07:49:06 +0000 (09:49 +0200)]
mpegdefs: clarify some stream ids

13 years agotsdemux: whoops, tsdemux isn't ready yet for primary rank :)
Edward Hervey [Sat, 16 Jul 2011 11:51:44 +0000 (13:51 +0200)]
tsdemux: whoops, tsdemux isn't ready yet for primary rank :)