Commit graph

9031 commits

Author SHA1 Message Date
Thiago Santos
32fdfbeb38 configure: Bump -core/-base requirements to 0.10.30.1
We need 0.10.30.1 to have latest tags in core/base for jifmux
tests.
2010-09-06 09:28:46 -03:00
Youness Alaoui
9823b9358e dtmfsrc: Make the dtmfsrc accept events sent with gst_element_send_event
The doc says to use gst_element_send_event on the pipeline, but if
we are to call it on the element itself, it's a noop. This should make it
handle the event properly before delegating it to basesrc.
2010-09-06 13:45:44 +03:00
Carl-Anton Ingmarsson
b2ce3aab96 vdpauvideopostprocess: set new framerate on output caps instead of input caps
It's not allowed to change the caps provided by the setcaps function.

https://bugzilla.gnome.org/show_bug.cgi?id=628326
2010-09-06 12:25:48 +02:00
David Schleef
7e8580c955 element-maker: Take parameters on command line
Now it's actually useful.
2010-09-06 03:25:16 -07:00
David Schleef
aa3fa6a542 interlace: Add documentation 2010-09-06 03:25:15 -07:00
Sebastian Dröge
6bc160a0dc fpsdisplay: Use G_GUINT64_FORMAT instead of %llu
Fixes compiler warnings on 64 bit architectures.
2010-09-06 10:29:21 +02:00
Stefan Kost
bbfff812bf inputselector: sync with copy in -base
Use _get_caps_reffed to avoid copies.
2010-09-06 11:03:07 +03:00
Stefan Kost
eca2e20945 outputselector: move the debug init to the boilerplate macro 2010-09-06 10:24:07 +03:00
Stefan Kost
b142b7a8c5 inputselector: use GST_BOILERPLATE macro 2010-09-06 10:24:07 +03:00
Stefan Kost
10776e474d fpsdisplaysink: don't add a g_mainloop dependency
Just update the fps-message from the probe handler.
2010-09-06 10:24:06 +03:00
Stefan Kost
9a03a43696 fpsdisplaysink: small cleanup
Add one one example and lower the fon't size for the overlay.
2010-09-06 10:24:06 +03:00
Rob Clark
60c963f0ac fpsdisplaysink: measure fps in terms of wall clock time
Measure fps in terms of system clock, rather than pipeline clock, to get
an accurate meaure of fps.
2010-09-06 10:24:06 +03:00
David Schleef
813a2235b5 checksumsink: Add new element 2010-09-05 22:50:06 -07:00
David Schleef
d759c92bb3 ssim: Add I420 support 2010-09-05 22:50:06 -07:00
David Schleef
5db2beeb49 interlace: Add more formats 2010-09-05 22:50:06 -07:00
David Schleef
3168bd0a22 Automatic update of common submodule
From d3d9acf to c2e10bf
2010-09-05 18:58:36 -07:00
Jan Schmidt
19f2568429 Remove .new docs files from the repository 2010-09-06 10:55:29 +10:00
Jonathan Rosser
62ae33d3d6 cog: Fix cog_virt_frame_new_convert_u8()
Conversion was using uninitialized data instead of source frame.
Fixes #626425.
2010-09-05 15:37:17 -07:00
David Schleef
eea40e46e2 cog: Fix generated Orc code
Also drop required Orc back down to 0.4.7.
2010-09-05 12:08:10 -07:00
Thiago Santos
9ae921f888 camerabin: Use jifmux instead of metadatamux
Use jifmux element to write exif/xmp tags instead of metadatamux
2010-09-05 09:15:56 -03:00
Thiago Santos
bcc59439bc camerabin: Use new tags from -base
Replace private tags from metadata plugin with the new generic tags
from -base.
2010-09-05 09:15:56 -03:00
Thiago Santos
a40270a054 camerabin: Refactor tests
The tests were done in 2 steps, first there was a suite
that generated the files (while checking that camerabin
was operating correctly). Then there was a second suite
that was run to check that all files were playable with
playbin2. Those second tests were not being run because
they were checking if camerabin was initialized, and it
never was as those tests didn't use a 'setup' function.

This commit refactors the tests by removing this second
suite and merging its validation with the first suite's
functions.
2010-09-05 09:15:56 -03:00
Thiago Santos
70786470e8 tests: jifmux: Adds geo location tags tests
Adds some more tests for geo location tags.
Also use libexif constants for the exif tags' ids.
2010-09-05 09:15:56 -03:00
Thiago Santos
a12a23e498 tests: jifmux: Refactor testing code a little
Refactor testing code to allow testing for cases where the
same gstreamer tag is mapped to multiple exif tags.
2010-09-05 09:15:56 -03:00
Thiago Santos
b83839100a jifmux: More tests for exif tags
Refactors some code and add some more tests for exif tags
2010-09-05 09:15:56 -03:00
Thiago Santos
27333b0ef2 jifmux: Do not limit the size of the image on 16bits
Use guint instead of guint16 to represent the size of the encoded image,
this would make some recombined images lose most of their data and
show like a big black image with a small line of content on top.

Also adds a minor log message.
2010-09-05 09:15:55 -03:00
Thiago Santos
f664fd9c04 jifmux: Set output pad caps
Set output pad caps to guarantee caps on the buffers being
pushed downstream.
2010-09-05 09:15:55 -03:00
Thiago Santos
d49acb5588 jifmux: Detect EOI correctly
EOI are not always at the last 4 bytes. We need to search
the last 5 bytes to find the 0xFFD9 sequence as jpegenc seems
to round the buffer size to the next 4 multiple.
2010-09-05 09:15:55 -03:00
Thiago Santos
ba15ad9387 jifmux: Put APP0 first always
Fixes the order of the APP0/APP1 markers. APP0 should
be first.
2010-09-05 09:15:55 -03:00
Carl-Anton Ingmarsson
709a65cddf vdpauh264dec: parse "pixel-aspect-ratio" from stream 2010-09-05 13:52:40 +02:00
Carl-Anton Ingmarsson
5c03466309 vdpau: remove non working unused code from GstBaseVideoDecoder 2010-09-05 13:52:40 +02:00
Carl-Anton Ingmarsson
f2fb66d376 vdpau: GstBaseVideoDecoder set default par to 1/1 2010-09-05 13:52:40 +02:00
Carl-Anton Ingmarsson
885845a678 vdpau: remove gst_base_video_decoder_get_current_frame
we now pass the current frame to GstBaseVideoDecoder::parse_data

also fixup some errors in vdpaumpeg4dec so that it now gives correct output
2010-09-05 13:52:40 +02:00
Carl-Anton Ingmarsson
08e6a65f08 vdpau: rework GstBaseVideoDecoder timestamping
timestamps are now chosen in the following order:
	upstream -> parsed by decoder -> calculated from timestamp offset

we also check the timestamps supplied from upstream/decoder to see if they
atleast is increasing.
2010-09-05 13:52:40 +02:00
Carl-Anton Ingmarsson
624c50bac6 vdpau: fix invalid unref 2010-09-05 13:52:40 +02:00
Sebastian Dröge
0a407d7764 Automatic update of common submodule
From ec60217 to d3d9acf
2010-09-05 12:19:32 +02:00
Edward Hervey
016b85a10b configure.ac: Bump orc requirement to 0.4.8.1
0.4.7 creates code with unavailable symbols
0.4.8 creates buggy code

Let's use git head of orc (which still won't work because git head
of orc still claims to be 0.4.8)

This allows all the rest of -bad to build properly.
2010-09-05 11:47:25 +02:00
Edward Hervey
a80165d23b timidity: Fix unitialized variables (gcc 4.4.4) 2010-09-05 11:28:16 +02:00
David Schleef
acad667e43 cog: update disted Orc files 2010-09-04 11:35:16 -07:00
David Schleef
7d28505c4e sdlvideosink: Re-enable YVYU and UYVY
YVYU on my machine appears to be doing software conversion
(and doing it incorrectly).
2010-09-04 11:22:26 -07:00
David Schleef
239bcffa56 element-maker: construct element names 2010-09-04 11:22:26 -07:00
David Schleef
7ce0ca6c89 interlace: new element 2010-09-04 11:22:26 -07:00
David Schleef
135908dfe1 cog: Add fast paths for colorspace conversion 2010-09-04 11:22:25 -07:00
David Schleef
62d7f1f991 configure: require Orc 0.4.7 2010-09-04 11:22:25 -07:00
David Schleef
8b3450882a element-maker: Fix up GstElement 2010-09-04 11:22:25 -07:00
David Schleef
05992323b6 cog: Improvements in colorspace and scaler
Add fast paths for YUV->YUV conversions and Orc code for all.
Use Orc for horizontal resampling.
2010-09-04 11:22:23 -07:00
David Schleef
785fb87caf cog: minor cleanups
Improve element descriptions, remove unused files, code cleanup.
2010-09-04 11:15:20 -07:00
Tim-Philipp Müller
9b5498b013 Back to development
Temporarily disable -DGST_DISABLE_DEPRECATED for git builds until
the code is updated for the GST_FLOW_IS_* macro deprecations.
2010-09-04 14:25:02 +01:00
Andoni Morales Alastruey
4668330bdc mpegtsmux: Initialize PES packet before getting the header size.
The PES header length is calculated before setting the dynamic flags, returning
a wrong value. Small frames that should be sent in a single TS packet are
spawned to a new packet because of that error. For audio streams where a single
frame can cope in one TS packet it introduces a huge overhead.

For a 100B packet, we prepare a TS packet with a payload of(100+9)B. Then, we
write the TS header using this value in tsmux_write_ts_header, and call
tsmux_stream_get_data(). The dynamic flags where not set yet and now
tsmux_stream_pes_header_length() returns 14B instead of 9B. The payload of the
TS packet is 114B, 5B more than what was calculated. 109B are sent in a first
packet and the remaining 5B are sent in another one.

Fixes bug #628548.
2010-09-04 15:01:30 +02:00
Sebastian Dröge
8af858cf8f cogcolorspace: Classify as Filter/Converter/Video instead of effect
Fixes bug #628570.
2010-09-04 15:01:30 +02:00