Commit graph

1361 commits

Author SHA1 Message Date
Jan Schmidt
09b41120e4 resindvd: Extend the Resin audio decoder element, and switch rsndvdbin to use it 2009-04-02 14:48:00 +01:00
Jan Schmidt
7d33cf22a9 resindvd: First part of the re-plugging audio decoder 2009-04-02 14:46:54 +01:00
Jan Schmidt
093f844640 resindvd: remove unused code path from the bin 2009-04-02 14:46:54 +01:00
Jan Schmidt
b6b2677857 resindvd: Indent some things 2009-04-02 14:46:53 +01:00
Jan Schmidt
15792ae809 resindvd: Switch GST_BOILERPLATE to G_DEFINE_TYPE for no real reason. 2009-04-02 14:46:53 +01:00
Jan Schmidt
8244a3d688 resindvd: Add faststart, and work around some multi-angle issues
Add a 'fast-start' property to the rsndvdsrc element, that attempts to
jump directly to the DVD menu when starting. Doesn't work correctly on all
titles yet.

Add workarounds for issues with multiple angles in libdvdnav: Use a heuristic
to avoid detecting discontinuities during multiple-angle titles, it seems
caused by libdvdnav losing some NAV packets in multiangle titles. Fix
seeking in multi-angle titles by aligning our sector calculation logic
with libdvdnav's. Also, use libdvdnav's dvdnav_get_current_time() method
to determine the logical position of the current cell when it changes, as the
cell_start value in the cell_change event provides a number that doesn't
compensate for angle cell blocks.
2009-04-02 14:46:35 +01:00
Jan Schmidt
160bf21e9d resindvd: Small debug output change in the source element 2009-04-02 14:46:23 +01:00
Sebastian Dröge
3eba30d509 jp2enc: Unref peer caps after usage to fix a memory leak 2009-04-02 13:05:11 +02:00
Mark Nauwelaerts
d2f9546369 mpeg2enc: fix bitrate property settings
Align bitrate property interpretation with usual mpeg2enc behaviour.
Fixes #575736.
2009-03-30 22:06:55 +02:00
Tim-Philipp Müller
a81d8ca777 jp2kdec: implement basic QoS
Don't try to decode frames that are going to be late anyway.
2009-03-27 19:55:19 +00:00
Sebastian Dröge
6f62242c5f Merge branch 'mxfmux' 2009-03-26 08:13:10 +01:00
Stefan Kost
ebefc41614 ladspa: comment signalprocessor class more and do minor code cleanups 2009-03-25 23:04:13 +02:00
Wim Taymans
13bc8b8c03 jack: Add new connection mode
Add a new connection mode to jacksrc and jacksink. In this new auto-force
connection mode jack will create as many ports as requested/needed in the
pipeline and will then connect as many physical ports as possible, possibly
leaving some ports unconnected.

Also get rid of some leftover g_print.

Fixes #575284.
2009-03-23 17:07:16 +01:00
Alessandro Decina
276228da80 celtenc: build with celt 0.5. 2009-03-23 12:16:52 +01:00
Stefan Kost
5540ec23ec metdata: more logging and code cleanups
Sprinkle more debug log statements into the code. Move some repeaded string
constant into header files and use sizeof instead of manually counted bytes. Add
comments.
2009-03-22 21:02:45 +02:00
Stefan Kost
4b3e2b6e4c metadata: fix muxing jfifless jpeg. Fixes #574401
Don't error out when to be muxed jpeg has no jfif, as we can easily
add it.
2009-03-22 21:02:45 +02:00
Stefan Kost
80caa6bf70 metadata: fix include guards 2009-03-22 21:02:45 +02:00
Stefan Kost
fd0f7487dd metadata: rework doc comment 2009-03-22 21:02:45 +02:00
Sebastian Dröge
86719f194f jp2kenc: Add width/height/fourcc to the pad template caps 2009-03-21 10:19:47 +01:00
Tim-Philipp Müller
375263c946 dfbvideosink: include stdlib.h for abs() 2009-03-10 21:39:00 +00:00
Jan Schmidt
ba53f2ff3b Moved twolame from Bad to Ugly 2009-03-10 01:03:41 +00:00
Stefan Kost
772f8f6a8a metadata: cleanup, fix the test, add comments
First do not build the plugin, if we have none of the backend, as it won't work
then. Fix the miniobject_unref error in the test. Sprinkle a first handful of
debug logs into the element code.
2009-03-06 23:38:45 +02:00
Edward Hervey
bdc9c5618a faad: Use the public headers if faad2 >= 2.7. Fixes #573369
Since faad2-2.7, the public function prototypes are in sync with the
actual function prototypes used internally in libfaad.
2009-03-06 12:42:50 +01:00
Wim Taymans
1546625294 ladspa: fix compilation when LRDF is missing
--
2009-03-06 11:08:18 +01:00
Stefan Kost
b31fa28906 ladspa: remove -ldl as we now use glibs gmodule. 2009-03-05 22:55:17 +02:00
Stefan Kost
eae238a125 ladspa: add initial liblrdf support.
Get classification from rdf metadata.
2009-03-05 22:37:52 +02:00
Stefan Kost
1b7a9ca6c5 mplex: fix required version
With this version it builds on opensuse 11.1.
2009-03-05 22:04:48 +02:00
Stefan Kost
070ffb6940 ladspa: add LIBDIR/ladspa to search path and make path more portable
Use glib defines for searchpath separators. Filter searchpath to avoid scanning
path entries twice. Fix the return in ladspa_plugin_directory_search to return
wheter we found a plugin.
2009-03-04 15:10:30 +02:00
Stefan Kost
86c5975ebe ladspa: rewrite the directory scanning, fixes first part of #573370
Move the two function from search.c into gstladspa.c and make them static.
Remove non needed arguments from function prototypes. Use glib api for
simplicity and portability.
2009-03-04 15:10:30 +02:00
LRN
ccaa8de5aa faad: use gint8 instead of int8_t
Use gint8 instead of int8_t to fix compilation.
Fixes #573851.
2009-03-04 11:14:18 +01:00
LRN
b5d4c2a7bf gsmdec: Use G_BYTE_ORDER to fix Windows compile
gstgsmdec relies on BYTE_ORDER, which is not available on Windows. Use
G_BYTE_ORDER instead.
Fixes #573850.
2009-03-04 11:07:52 +01:00
Olivier Crête
6dbf8906b5 Add Doc for mimic plugin 2009-03-03 16:55:12 -05:00
Olivier Crête
288c11c0ed Move mimic to -bad 2009-03-03 14:34:07 -05:00
Olivier Crête
bc4ef4ab62 Re-indent to GST style 2009-03-03 14:34:07 -05:00
Olivier Crete
2451f95e0f [MOVED FROM GST-P-FARSIGHT] Only output a newsegment if the incoming newsegment isnt a time segment
20080725224726-3e2dc-f82b993c0fbfe8bd487d2f1962fec1d0b6564ebc.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
a6c725572e [MOVED FROM GST-P-FARSIGHT] Remove unused member variables
20080725222648-3e2dc-24649782a39462c7c3fef9d6270b3db4c4ace1bb.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
9439baafec [MOVED FROM GST-P-FARSIGHT] Send out the right segment and use stored timestamps directly
20080725222448-3e2dc-e119bf09ede1cf187581d59176c8b35bafb731ae.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
3e785ea2de [MOVED FROM GST-P-FARSIGHT] Skip non-keyframes before we get a keyframe
20080725194833-3e2dc-583df57c8ebce4b149a01768ed7d3737136a208f.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
ca53565719 [MOVED FROM GST-P-FARSIGHT] Ignore upstream newsegment events in mimdec
20080725193358-3e2dc-7c0f22386e0208a45eae9c1d7eb62e86f61d14ba.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
a66cd25919 [MOVED FROM GST-P-FARSIGHT] emit the right timestamp in the newsegment event
20080725192530-3e2dc-a3cc0ce73fca181caee323d699d8576df916e8d3.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
4e2d96596d [MOVED FROM GST-P-FARSIGHT] Use video/x-mimic as the caps type
20080725190849-3e2dc-38e4acc9d4ad8231ed22f6cc4d7d8c2a8b5668e9.gz
2009-03-03 14:34:07 -05:00
Olivier Crete
50d366b0f5 [MOVED FROM GST-P-FARSIGHT] Add proper locking to mimenc
20080704220713-3e2dc-6a22d1a423716e8b84bc3bda9986a1b4ff0c0d37.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
6c6a95130b [MOVED FROM GST-P-FARSIGHT] Remove useless implementation of getcaps from mimdec
20080704220318-3e2dc-d81bc59b2308c5ad0d3144030c5650295e99f3c6.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
c57073ea3d [MOVED FROM GST-P-FARSIGHT] Add proper locking to mimdec
20080704220243-3e2dc-71c157d82999dfb41bd62b4064b1887ab22e84c1.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
7b80bac3ab [MOVED FROM GST-P-FARSIGHT] Remove leak
20080704215936-3e2dc-22d992f98c9931f062662fc05f1ce65bc97f619a.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
7d52a6fc1a [MOVED FROM GST-P-FARSIGHT] Reset the gst timestamp if the time different is too large
20080704215550-3e2dc-76eb3f600f2b977e916f7e1f654529ddaff06ac9.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
9e7cada4a9 [MOVED FROM GST-P-FARSIGHT] Use the timestamp from the first buffer as the base
20080704215208-3e2dc-5822771f2694deda4a7cd5cdd3c38ab9eff7fa2d.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
749e12bb15 [MOVED FROM GST-P-FARSIGHT] Store the timestamp in the header
20080704214935-3e2dc-90ec73df3225b41baa681ab691fb8bd47e17c780.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
10d0e46524 [MOVED FROM GST-P-FARSIGHT] Re-indent mimdec
20080704211943-3e2dc-def1e0dacc4a45fe2b4afdcb903a1328c95117ac.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
b864664647 [MOVED FROM GST-P-FARSIGHT] Simplify newsegment code
20080704211511-3e2dc-b98d1e5b31c23eb7912197f9364a31560d092c63.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
e76cd30d7f [MOVED FROM GST-P-FARSIGHT] Port mimic plugins to GST_BOILERPLATE
20080704205010-3e2dc-da41e5685ab9ceb67555d499125432cd12d5505d.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
c6396458b7 [MOVED FROM GST-P-FARSIGHT] Remove trailing whitespace in mimic plugin
20080704204112-3e2dc-1ab4b913d58faa058742b01e083f7debd6877bb3.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
3f12b5905b [MOVED FROM GST-P-FARSIGHT] Fix conflicts
20080704202941-3e2dc-7f5a38845b797e12d672551466e635d484cb6763.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
8dca93678d [MOVED FROM GST-P-FARSIGHT] Fix mimic enc chain function, return res for chain(), get the parent element with the proper accessor function, use the _OBJECT debugging macros
20071110051717-3e2dc-4726fcd19cc3d1121a4e13276a41f5f86dc1c9b1.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
38006a4c22 [MOVED FROM GST-P-FARSIGHT] Make the _set_caps function of mimic enc more robust
20071110051427-3e2dc-381a71f2cbfdbf508e941b672e9058c82fabce24.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
7f0628b5f9 [MOVED FROM GST-P-FARSIGHT] Remove the gst 0.9.1 ifdef
20071110051401-3e2dc-1f071d732d64573889977405995692d94b10a0d6.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
c6187db160 [MOVED FROM GST-P-FARSIGHT] Make caps gst 0.10 compliant
20071110051035-3e2dc-f7024bd3ecfb6794fe8d09dcb100ba0b4783df5d.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
d9511ab542 [MOVED FROM GST-P-FARSIGHT] Use g_type_class_peek_parent instead of reffing the parent class directly
20071110050950-3e2dc-6d14ddd6ae3ceeeaa4e641b7b09613e442927f92.gz
2009-03-03 14:34:06 -05:00
Olivier Crete
ce88d245c3 [MOVED FROM GST-P-FARSIGHT] Remove framesize properties on the mimic encoder
20071110050852-3e2dc-cb8165c073bfa981790dc91693fd1c483ea7b6ea.gz
2009-03-03 14:34:05 -05:00
Olivier Crete
c4daecd48b [MOVED FROM GST-P-FARSIGHT] Use the _OBJECT debug macros
20071110050753-3e2dc-560d22a86eea1108f1746d0123744d33812e94c9.gz
2009-03-03 14:34:05 -05:00
Olivier Crete
06aeeba7b1 [MOVED FROM GST-P-FARSIGHT] Use gst_pad_get_parent instead of looking into the GstObject directly
20071110050351-3e2dc-636f7d7737494f810047a8ee6927cde060bb4b4b.gz
2009-03-03 14:34:05 -05:00
Olivier Crete
cd1077398c [MOVED FROM GST-P-FARSIGHT] Return back result of pad push
20071110050232-3e2dc-4a080d97963cd8ab6d528c4012d14353c1cfe97b.gz
2009-03-03 14:34:05 -05:00
Olivier Crete
bcfd238405 [MOVED FROM GST-P-FARSIGHT] Ole's port to gst 0.10
20071110041125-3e2dc-e2994c3bbe1578d98e4f707bd10f24fabf942c2b.gz
2009-03-03 14:34:05 -05:00
Olivier Crête
4a6416f683 [MOVED FROM GST-P-FARSIGHT] Remove .git-darcs-dir files 2009-03-03 14:34:05 -05:00
Youness Alaoui
e462189753 [MOVED FROM GST-P-FARSIGHT] Limit timestamp diff in case of a jump in the timestamps
20080211222431-4f0f6-726fc66403081533371f775954aab4c7b8fdc643.gz
2009-03-03 14:34:05 -05:00
Youness Alaoui
84adcfdd81 [MOVED FROM GST-P-FARSIGHT] Make it back to 30 fps in caps
20080206031654-4f0f6-d8197e53888906805041e6552c0dd774c55e9e89.gz
2009-03-03 14:34:05 -05:00
Youness Alaoui
8447f4e46c [MOVED FROM GST-P-FARSIGHT] Fix timestamps in gst buffers sent by gstmimic
20080206030947-4f0f6-9dc7d9b1a92a717c71b1e490a5591f0e2ffe0dad.gz
2009-03-03 14:34:05 -05:00
Youness Alaoui
d76d681e41 [MOVED FROM GST-P-FARSIGHT] Fix framerate type in caps for gstmimic element
20080206020335-4f0f6-0d9e136039ad6b7b84982bdac242a059d50fbb66.gz
2009-03-03 14:34:04 -05:00
philippe.kalaf@collabora.co.uk
01f8344bf0 [MOVED FROM GST-P-FARSIGHT] Fixed couple of compilation issues
20060324201619-2425b-bf339926f533aa4efece855fbbe94e59c7bb955f.gz
2009-03-03 14:34:04 -05:00
philippe.kalaf@collabora.co.uk
107a5b0f4e [MOVED FROM GST-P-FARSIGHT] Calls to gst_pad_get_parent ref the object so it needs to be unreffed < hexa00@gmail.com
20060324195720-2425b-17928be34ee67f71efbaf62de76deba9ad13f0f2.gz
2009-03-03 14:34:04 -05:00
philippe.kalaf@collabora.co.uk
78f8f112c1 [MOVED FROM GST-P-FARSIGHT] Separated ERROR_CFLAGS from GST_CFLAGS
20060214210027-2425b-1f9e6ed591c08e5907d02ef7ea9a8cf62bf29840.gz
2009-03-03 14:34:04 -05:00
Philippe Khalaf
31fdd11cc0 [MOVED FROM GST-P-FARSIGHT] Should not be done in dispose, moving to finalize
20051024153748-05459-9625fec05547c535bf5f3c66aebba84861b549aa.gz
2009-03-03 14:34:04 -05:00
Philipe Kalaf
b6350f6f5a [MOVED FROM GST-P-FARSIGHT] Import from CVS to darcs 2009-03-03 14:34:04 -05:00
Sebastian Dröge
797d918f70 ladspa: Don't compile unused code from load.c 2009-03-01 20:02:12 +01:00
Jan Schmidt
b59e983751 celtdec: Move define into the C file so it doesn't show up in the docs 2009-02-27 12:00:35 +00:00
Jan Schmidt
f4da218edd dtsdec: Add some basic docs to the plugin 2009-02-27 12:00:21 +00:00
Jan Schmidt
4a046a08a3 apexsink: Use a union to avoid type-punning strict aliasing compiler warning. 2009-02-27 10:41:43 +00:00
Sebastian Dröge
da040c2a35 dtsdec: Use new DCA functions/constants as not all distros package the compat dts.h
For backward compatibility we define the DCA functions/constants to the
old DTS functions/constants if we're building against libdts.
2009-02-24 16:21:18 +01:00
Jan Schmidt
98dccb65bf Detect libsoundtouch 1.4 and higher.
In libsoundtouch 1.4, libBPM appears to have been subsumed into
libSoundTouch, and into the soundtouch namespace.
2009-02-22 19:18:36 +00:00
Sebastian Dröge
a6ed62add8 dfbvideosink: Don't use void * pointer arithmetic 2009-02-22 14:58:36 +01:00
Edward Hervey
692cd5ef7b xvid: Fix compilation warning 2009-02-22 13:17:54 +01:00
Sebastian Dröge
71f9bd00f5 bpmdetect: Fix accidentally introduced stack overwriting introduced in last commit 2009-02-16 16:08:31 +01:00
Sebastian Dröge
4fe032d97e bpmdetect: Save one memory allocation per stereo buffer 2009-02-16 16:07:29 +01:00
Mark Nauwelaerts
6299a62433 metadata: also post error message when returning error 2009-02-12 10:51:20 +01:00
Christian Schaller
f4c741ef9c Update spec file with latest changes, also add some missing disting directories to a couple of Makefiles.am files 2009-02-11 17:23:03 +00:00
Sebastian Dröge
9a1d1cb91f bpmdetect: Pass at most 2048 samples to SoundTouch's BPMDetect
Internally BPMDetect assumes that at most 2048 samples are passed
to it at once and stores those in a stack allocated static sized
array. If we pass too many samples this will result in a buffer overflow
resulting in heavy stack corruption and a crash. Fixes bug #570996.
2009-02-10 10:20:14 +01:00
Sebastian Dröge
4a23c7e912 Random cleanup and smaller bugfixes
Use gst_element_klass_set_details_simple(), install properties
with static strings, create pads directly from the static pad
templates, directly put the segment into the instance struct,
use GST_MSECOND instead of numbers.

The PAR is a GstFraction and not a double, use gst_structure_get_fraction().

Simplify setcaps() functions.
2009-02-05 17:52:38 +01:00
Sebastian Dröge
aba72fcce9 Use GST_VIDEO_CAPS_RGB for the template caps 2009-02-05 17:52:38 +01:00
Sebastian Dröge
a0e06b965a Fix compiler warnings 2009-02-05 17:52:38 +01:00
Benjamin Schmitz
0bc20cb186 Add assrender plugin for rendering ASS/SSA subtitles
This element has the advantage over subparse's ASS/SSA
support that more features are supported, like fading,
by using libass. Fixes bug #481075.
2009-02-05 17:52:38 +01:00
Hans de Goede
bf7ccbe0f8 Build the modplug plugin against the modplug library and remove our copy
Always build the modplug plugin against the system modplug library
and remove our own copy. Using the system version has advantages
if security issues or other critical bugs are found in libmodplug
and our own copy wasn't really maintained anyway.

Also our copy only contained some patches to use GLib types and functions.
Fixes bug #568837.
2009-01-24 18:13:39 +01:00
Stefan Kost
a094c58eed Add README with midi related links. 2009-01-23 16:09:51 +02:00
Stefan Kost
2af1d512c4 Log aac details found in codec_data. 2009-01-23 16:00:10 +02:00
Stefan Kost
93df7379e4 Configure byte order for EXIF. Fixes #568704
Exif blocks can be in differnt byte orders. Add an element property to select wich one should be written.
2009-01-23 15:14:24 +02:00
Hans de Goede
20b715ac79 Add seeking support to mmssrc. Fixes bug #469930.
Add proper seeking support to mmssrc and clean
up some code. This requires libmms >= 0.4.
2009-01-23 11:50:29 +01:00
Jan Schmidt
d119d31259 ext/resindvd/resindvdsrc.c: Additional patch for resin fixes time-based seeking in titles that don't start at sector ...
Original commit message from CVS:
* ext/resindvd/resindvdsrc.c:
Additional patch for resin fixes time-based seeking in titles
that don't start at sector 0 in the VTS, and fixes interpretation
of the cell elapsed time, so that it reports the correct time after
the seek completes.
Really fixes #566957.
2009-01-09 16:49:57 +00:00
Brian Cameron
c266d310af ext/ladspa/search.c: Avoid searching (null) paths or crashing on platforms where printing a
Original commit message from CVS:
Based on Patch by: Brian Cameron <brian dot cameron at sun dot com>
* ext/ladspa/search.c: (LADSPAPluginSearch):
Avoid searching (null) paths or crashing on platforms where printing a
NULL string segfaults. Fixes #567004.
2009-01-08 17:57:19 +00:00
Jan Schmidt
672051c5eb ext/resindvd/: Add support for time based seeking.
Original commit message from CVS:
* ext/resindvd/resindvdbin.c:
* ext/resindvd/resindvdsrc.c:
* ext/resindvd/resindvdsrc.h:
* ext/resindvd/rsnaudiomunge.c:
Add support for time based seeking.
Make setting dvd:// reset to the default device.
Make the 'audiomunge' element send any new segment start before
the 'gap filler' buffer it generates, and any segment closes
after.
Fixes: #566957
2009-01-08 12:42:18 +00:00
Sebastian Dröge
acd634eafa ext/ladspa/gstladspa.c: Add plugin dependency for the LADSPA plugin directories.
Original commit message from CVS:
* ext/ladspa/gstladspa.c: (plugin_init):
Add plugin dependency for the LADSPA plugin directories.
Fixes bug #566878.
2009-01-08 09:40:22 +00:00
Mark Nauwelaerts
b5f61341dd ext/x264/gstx264enc.c: Use hyphen in property name, perform safety buffer size check prior to mem access, and some mo...
Original commit message from CVS:
* ext/x264/gstx264enc.c: (gst_x264_enc_class_init),
(gst_x264_enc_header_buf), (gst_x264_enc_encode_frame):
Use hyphen in property name, perform safety buffer size check
prior to mem access, and some more parentheses in macro.
2009-01-05 10:28:58 +00:00