Commit graph

1434 commits

Author SHA1 Message Date
Tim-Philipp Müller
ac7cda4b3b dtsdec: cosmetic fix to header structure to make gtk-doc happy 2009-05-01 14:28:44 +01:00
Stefan Kost
d3ac465ec1 x264enc: add preset support
Add preset iface and a (dummy) preset file as a starting point.
2009-04-30 00:07:37 +03:00
Jan Schmidt
e62dc2c1ab resindvd: Convert some g_print to GST_LOG_OBJECT and friends, remove some others
Trim down the g_print verbosity.
2009-04-29 21:31:21 +01:00
Jan Schmidt
febe0c15d0 resindvd: Add DVDFASTSTART env var to making some testing easier 2009-04-29 21:02:16 +01:00
Jan Schmidt
243f58f2fc resindvd: Remove redundant modulo operation in the demuxer 2009-04-29 21:02:16 +01:00
Jan Schmidt
eedf313156 resindvd: Map audio and subpicture logical streams to physical.
The logical audio and subpicture stream number doesn't always correspond
with the physical substream it is coming from. When configuring the demuxer
pads, use the mapping table provided in each PGC to get the layout and
ensure the demuxer creates the correct pads.
2009-04-29 21:02:15 +01:00
Mark Nauwelaerts
9a0c38e01e x264enc: add some documentation on profile 2009-04-29 19:43:40 +02:00
LRN
d4ff7292fd modplug: Use correct header file
modplug's sndfile.h conflicts with libsndfile's sndfile.h, so
we'll access it directly using modplug/sndfile.h.  Fixes #573849

Signed-off-by: David Schleef <ds@schleef.org>
2009-04-21 18:55:05 -07:00
LRN
bc29123723 mpeg2enc: Get number of processors on win32
Fixes #573848.

Signed-off-by: David Schleef <ds@schleef.org>
2009-04-21 18:55:05 -07:00
Edward Hervey
a025f156a5 mmssrc: If the connection fails, emit a redirection msg to the rtsp equivalent.
This should help fix the issue with Windows Media Server using rtsp... but
still declaring the stream with mms://
2009-04-21 16:48:39 +02:00
Janin Kolenc
dde471ab49 x264enc: add force keyframe event handling
Use the GstForceKeyUnit event to force a keyframe.
Fixes #578112.
2009-04-09 23:53:39 +02:00
Tim-Philipp Müller
788fed202d bz2: fix some refcount mistakes and do some cleaning up
No need to unref buffers if pad_push returns something non-FLOW_OK.
In fact, this will cause assertions or crashes. However, we do need
to unref the input buffer whenever we don't pass it downstream. Also,
a non-OK flow return is not an error, so don't post error messages on
the bus - the pipeline may just be shutting down. Miscellaneous other
clean-ups and crack removal. Plenty of work left for those who feel
like it.
2009-04-04 19:00:18 +01:00
Tim-Philipp Müller
e55f069fe6 resindvd: require libdvdnav >= 4.1.2 for dvdnav_get_current_time()
Fixes #577864.
2009-04-03 18:13:00 +01:00
Jan Schmidt
70bdf00200 resindvd: Send both the logical and physical substream ID in the stream change.
When sending the stream change message(s) to the demuxer, also include the
logical stream id along with the physical ID, so that the demuxer can remap
logical->physical MPEG stream ID.
2009-04-02 14:49:54 +01:00
Jan Schmidt
0cf5e27b5b resindvd: Use new GstNavigation functionality.
Handle the new DVD commands, so that we can handle commands from a player
to change angle, jump to menus etc. Use the new GstNavigation event parsing
functions, instead of hand-rolled stuff.

Send GstNavigation notification messages when the mouse enters a button
or leaves it, so UI can turn the mouse cursor to a hand icon.
2009-04-02 14:49:39 +01:00
Jan Schmidt
97a1f14fc0 resindvd: Switch to using a hard-coded mpeg2dec, and change pad blocking a bit.
Change the pad blocking behaviour during startup, and use a hard-coded mpeg2dec (for the moment), in order to make things work with playbin2.
2009-04-02 14:49:24 +01:00
Jan Schmidt
1c6529e93e resindvd: Add newline to debug g_print statement 2009-04-02 14:49:20 +01:00
Jan Schmidt
b9c4db5d53 resindvd: Make highlights work when jumping into menus
Make the highlights re-appear correctly when jumping back into menus
by making sure to set the flushing_seek flag for user-action initiated
seeks.
Fiddle some debug related to tracking down the issue.
2009-04-02 14:49:20 +01:00
Jan Schmidt
85db327e82 resindvd: Support multiangle titles.
Add a workaround for an apparent libdvdnav bug where it loses nav packets
during multiangle titles, and add some keypress bindings to switch the angle.
2009-04-02 14:49:19 +01:00
Jan Schmidt
5f789d3075 resindvd: Add back in support for using hardcoded a52dec 2009-04-02 14:49:04 +01:00
Jan Schmidt
2e4c08fbbe resindvd: Add some debug when creating the output pads in the demuxer 2009-04-02 14:48:23 +01:00
Jan Schmidt
4a320ec12a resindvd: More hacking on the audio decoder. 2009-04-02 14:48:12 +01:00
Jan Schmidt
12625af8d8 resindvd: Trim back the g_print debug - convert to GST_DEBUG and GST_LOG 2009-04-02 14:48:09 +01:00
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
Alessandro Decina
70ce70b287 ext/apexsink/Makefile.am: Move -lgcrypto from _LDFLAGS to _LIBADD.
Original commit message from CVS:
* ext/apexsink/Makefile.am:
Move -lgcrypto from _LDFLAGS to _LIBADD.
2009-01-02 11:00:17 +00:00
Alessandro Decina
833807a67f ext/apexsink/Makefile.am: Link against -lgcrpyto for RSA_new and RSA_free.
Original commit message from CVS:
* ext/apexsink/Makefile.am:
Link against -lgcrpyto for RSA_new and RSA_free.
* ext/faac/gstfaac.c:
* ext/x264/gstx264enc.c:
Fix compiler warnings.
2009-01-02 01:44:11 +00:00
Stefan Kost
1ea02b7a38 Totally remove the internal taglists and fully use tagsetter. Fixes various tag muxing issues.
Original commit message from CVS:
* ext/celt/gstceltenc.c:
* ext/celt/gstceltenc.h:
* ext/metadata/gstmetadatamux.c:
* gst/qtmux/gstqtmux.c:
* gst/qtmux/gstqtmux.h:
Totally remove the internal taglists and fully use tagsetter. Fixes
various tag muxing issues.
2008-12-16 16:26:52 +00:00
Stefan Kost
9cfbca8754 ext/faac/gstfaac.c: Fix default for outputformat property.
Original commit message from CVS:
* ext/faac/gstfaac.c:
Fix default for outputformat property.
2008-12-15 15:56:18 +00:00
David Schleef
eaa43c488c ext/jp2k/gstjasperenc.c: Some compilers complain about uninitialized variable; add a g_assert_not_reached()
Original commit message from CVS:
* ext/jp2k/gstjasperenc.c: Some compilers complain about
uninitialized variable; add a g_assert_not_reached()
2008-12-02 06:21:21 +00:00
Sebastian Dröge
426b2db2cb ext/jp2k/: Add image/x-jpc caps name for real, raw JPEG2000 codestream data.
Original commit message from CVS:
* ext/jp2k/gstjasperdec.c: (gst_jasper_dec_sink_setcaps):
* ext/jp2k/gstjasperenc.c: (gst_jasper_enc_reset),
(gst_jasper_enc_set_src_caps), (gst_jasper_enc_init_encoder),
(gst_jasper_enc_sink_setcaps), (gst_jasper_enc_get_data):
* ext/jp2k/gstjasperenc.h:
Add image/x-jpc caps name for real, raw JPEG2000 codestream data.
In 0.11 we should merge image/x-j2c and image/x-jpc and simply drop
the non-standard boxing in the jasper elements and handle it in
qtmux/qtdemux.
image/x-jpc will be used by mxfdemux later.
Also add support for JP2 output in jp2kenc.
2008-12-01 15:48:13 +00:00
Sebastian Dröge
cf877b2d4f ext/jp2k/gstjasperdec.c: Don't unref the element instance if we don't own a reference.
Original commit message from CVS:
* ext/jp2k/gstjasperdec.c: (gst_jasper_dec_sink_setcaps):
Don't unref the element instance if we don't own a reference.
2008-11-29 20:07:11 +00:00
Jonathan Matthew
c68ea73e3f ext/spc/gstspc.c: Post an error and push EOS when we can't start playback for some reason. also avoid a crash when fe...
Original commit message from CVS:
Patch by: Jonathan Matthew <notverysmart at gmail dot com>
* ext/spc/gstspc.c: (gst_spc_dec_sink_event), (spc_setup):
Post an error and push EOS when we can't start playback for some reason.
also avoid a crash when fed an empty file. Fixes #480543.
2008-11-25 18:28:18 +00:00
Stefan Kost
25d2d8f48a ext/jack/: Query port latencies for sink/src delays.
Original commit message from CVS:
* ext/jack/gstjackaudiosink.c:
* ext/jack/gstjackaudiosrc.c:
Query port latencies for sink/src delays.
* ext/jack/gstjackbin.c:
No printf please.
2008-11-23 17:50:08 +00:00
Tal Shalif
fd4ef1dee7 ext/resindvd/resindvdsrc.c: Fix format string. Fixes bug #561992.
Original commit message from CVS:
Patch by: Tal Shalif <tshalif at nargila dot org>
* ext/resindvd/resindvdsrc.c:
(rsn_dvdsrc_prepare_streamsinfo_event):
Fix format string. Fixes bug #561992.
2008-11-23 11:16:36 +00:00
Alessandro Decina
a49918b152 ext/metadata/gstbasemetadata.c: Avoid deadlock during pad activation.
Original commit message from CVS:
* ext/metadata/gstbasemetadata.c:
Avoid deadlock during pad activation.
Fixes #561241.
2008-11-18 16:52:11 +00:00
Mark Nauwelaerts
21683124da ext/x264/gstx264enc.c: Construct source caps in more conventional (and correct) manner.
Original commit message from CVS:
* ext/x264/gstx264enc.c: (gst_x264_enc_set_src_caps):
Construct source caps in more conventional (and correct) manner.
2008-11-14 19:52:24 +00:00
David Schleef
40b6bdfb6a ext/dirac/gstdiracenc.cc: Set pixel-aspect-ratio correctly in the encoder API, as well as some default gstreamerish c...
Original commit message from CVS:
* ext/dirac/gstdiracenc.cc:
Set pixel-aspect-ratio correctly in the encoder API, as well
as some default gstreamerish colorspace properties.  Also,
apparently, change a bunch of indentation.
2008-11-13 22:30:54 +00:00
Mark Nauwelaerts
c8f4503419 ext/jp2k/: Add jp2kenc to jp2k plugin.
Original commit message from CVS:
* ext/jp2k/Makefile.am:
* ext/jp2k/gstjasperdec.c: (gst_jasper_dec_class_init),
(gst_jasper_dec_change_state):
* ext/jp2k/gstjasperenc.c: (gst_jasper_enc_base_init),
(gst_jasper_enc_class_init), (gst_jasper_enc_init),
(gst_jasper_enc_reset), (gst_jasper_enc_set_src_caps),
(gst_jasper_enc_init_encoder), (gst_jasper_enc_sink_setcaps),
(gst_jasper_enc_get_data), (gst_jasper_enc_chain),
(gst_jasper_enc_set_property), (gst_jasper_enc_get_property),
(gst_jasper_enc_change_state):
* ext/jp2k/gstjasperenc.h:
* ext/jp2k/gstjp2k.c: (plugin_init):
Add jp2kenc to jp2k plugin.
2008-11-13 21:44:15 +00:00
Mark Nauwelaerts
de900d75f4 ext/jp2k/gstjasperdec.*: Make pad template caps reflect the supported formats.
Original commit message from CVS:
* ext/jp2k/gstjasperdec.c: (gst_jasper_dec_init),
(gst_jasper_dec_reset), (gst_jasper_dec_negotiate),
(gst_jasper_dec_get_picture):
* ext/jp2k/gstjasperdec.h:
Make pad template caps reflect the supported formats.
Add or modify some debug statements, and slightly simplify image
passing to encoding library.
2008-11-13 21:31:14 +00:00
Stefan Kost
a14e8e07df Don't install static libs for plugins. Fixes #550851 for -bad.
Original commit message from CVS:
* ext/alsaspdif/Makefile.am:
* ext/amrwb/Makefile.am:
* ext/apexsink/Makefile.am:
* ext/arts/Makefile.am:
* ext/artsd/Makefile.am:
* ext/audiofile/Makefile.am:
* ext/audioresample/Makefile.am:
* ext/bz2/Makefile.am:
* ext/cdaudio/Makefile.am:
* ext/celt/Makefile.am:
* ext/dc1394/Makefile.am:
* ext/dirac/Makefile.am:
* ext/directfb/Makefile.am:
* ext/divx/Makefile.am:
* ext/dts/Makefile.am:
* ext/faac/Makefile.am:
* ext/faad/Makefile.am:
* ext/gsm/Makefile.am:
* ext/hermes/Makefile.am:
* ext/ivorbis/Makefile.am:
* ext/jack/Makefile.am:
* ext/jp2k/Makefile.am:
* ext/ladspa/Makefile.am:
* ext/lcs/Makefile.am:
* ext/libfame/Makefile.am:
* ext/libmms/Makefile.am:
* ext/metadata/Makefile.am:
* ext/mpeg2enc/Makefile.am:
* ext/mplex/Makefile.am:
* ext/musepack/Makefile.am:
* ext/musicbrainz/Makefile.am:
* ext/mythtv/Makefile.am:
* ext/nas/Makefile.am:
* ext/neon/Makefile.am:
* ext/ofa/Makefile.am:
* ext/polyp/Makefile.am:
* ext/resindvd/Makefile.am:
* ext/sdl/Makefile.am:
* ext/shout/Makefile.am:
* ext/snapshot/Makefile.am:
* ext/sndfile/Makefile.am:
* ext/soundtouch/Makefile.am:
* ext/spc/Makefile.am:
* ext/swfdec/Makefile.am:
* ext/tarkin/Makefile.am:
* ext/theora/Makefile.am:
* ext/timidity/Makefile.am:
* ext/twolame/Makefile.am:
* ext/x264/Makefile.am:
* ext/xine/Makefile.am:
* ext/xvid/Makefile.am:
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/dshow/Makefile.am:
* gst/aiffparse/Makefile.am:
* gst/app/Makefile.am:
* gst/audiobuffer/Makefile.am:
* gst/bayer/Makefile.am:
* gst/cdxaparse/Makefile.am:
* gst/chart/Makefile.am:
* gst/colorspace/Makefile.am:
* gst/dccp/Makefile.am:
* gst/deinterlace/Makefile.am:
* gst/deinterlace2/Makefile.am:
* gst/dvdspu/Makefile.am:
* gst/festival/Makefile.am:
* gst/filter/Makefile.am:
* gst/flacparse/Makefile.am:
* gst/flv/Makefile.am:
* gst/games/Makefile.am:
* gst/h264parse/Makefile.am:
* gst/librfb/Makefile.am:
* gst/mixmatrix/Makefile.am:
* gst/modplug/Makefile.am:
* gst/mpeg1sys/Makefile.am:
* gst/mpeg4videoparse/Makefile.am:
* gst/mpegdemux/Makefile.am:
* gst/mpegtsmux/Makefile.am:
* gst/mpegvideoparse/Makefile.am:
* gst/mve/Makefile.am:
* gst/nsf/Makefile.am:
* gst/nuvdemux/Makefile.am:
* gst/overlay/Makefile.am:
* gst/passthrough/Makefile.am:
* gst/pcapparse/Makefile.am:
* gst/playondemand/Makefile.am:
* gst/rawparse/Makefile.am:
* gst/real/Makefile.am:
* gst/rtjpeg/Makefile.am:
* gst/rtpmanager/Makefile.am:
* gst/scaletempo/Makefile.am:
* gst/sdp/Makefile.am:
* gst/selector/Makefile.am:
* gst/smooth/Makefile.am:
* gst/smoothwave/Makefile.am:
* gst/speed/Makefile.am:
* gst/speexresample/Makefile.am:
* gst/stereo/Makefile.am:
* gst/subenc/Makefile.am:
* gst/tta/Makefile.am:
* gst/vbidec/Makefile.am:
* gst/videodrop/Makefile.am:
* gst/videosignal/Makefile.am:
* gst/virtualdub/Makefile.am:
* gst/vmnc/Makefile.am:
* gst/y4m/Makefile.am:
* sys/acmenc/Makefile.am:
* sys/cdrom/Makefile.am:
* sys/dshowdecwrapper/Makefile.am:
* sys/dshowsrcwrapper/Makefile.am:
* sys/dvb/Makefile.am:
* sys/dxr3/Makefile.am:
* sys/fbdev/Makefile.am:
* sys/oss4/Makefile.am:
* sys/qcam/Makefile.am:
* sys/qtwrapper/Makefile.am:
* sys/vcd/Makefile.am:
* sys/wininet/Makefile.am:
* win32/common/config.h:
Don't install static libs for plugins. Fixes #550851 for -bad.
2008-11-04 12:42:30 +00:00
Stefan Kost
6f2aeb92cd ext/resindvd/Makefile.am: Dist the play scripts.
Original commit message from CVS:
* ext/resindvd/Makefile.am:
Dist the play scripts.
2008-11-01 21:37:06 +00:00
Jan Schmidt
e74c4fe4c7 ext/resindvd/resindvdsrc.*: Better fix for #546319 and similar cases by explicitly registering when we're in playing ...
Original commit message from CVS:
* ext/resindvd/resindvdsrc.c:
* ext/resindvd/resindvdsrc.h:
Better fix for #546319 and similar cases by explicitly
registering when we're in playing state or not.
2008-10-30 13:38:19 +00:00
Stefan Kost
bc94bc26be ext/ladspa/gstladspa.c: Whitespace.
Original commit message from CVS:
* ext/ladspa/gstladspa.c:
Whitespace.
* ext/ladspa/gstsignalprocessor.c:
Add a FIXME:. not sure if this code does the forwarding correctly.
2008-10-30 13:02:18 +00:00
Jan Schmidt
b2b865beac ext/resindvd/resindvdsrc.c: Make sure to start the NAV packet processing when changing state to PLAYING by passing a...
Original commit message from CVS:
* ext/resindvd/resindvdsrc.c:
Make sure to start the NAV packet processing when changing
state to PLAYING  by passing a flag that indicates the state
change is in progress.
Fixes: #546319
2008-10-29 01:00:22 +00:00
Stefan Kost
f3471841a3 ext/resindvd/resin-play: Remove $@ to fix parse_launch warning
Original commit message from CVS:
* ext/resindvd/resin-play:
Remove $@ to fix parse_launch warning
* ext/resindvd/resin-play2:
Add a version that uses deinterlace and xvimagesink.
2008-10-28 20:06:27 +00:00
Mark Nauwelaerts
4cb3939a0b ext/x264/gstx264enc.c: Adapt to slightly modified x264 API. Fixes #555238.
Original commit message from CVS:
* ext/x264/gstx264enc.c: (gst_x264_enc_init_encoder):
Adapt to slightly modified x264 API.  Fixes #555238.
2008-10-27 17:01:22 +00:00
Mark Nauwelaerts
c7b374abcb ext/faac/gstfaac.c: Prevent endless loop if buffer alloc error.
Original commit message from CVS:
* ext/faac/gstfaac.c: (gst_faac_sink_event):
Prevent endless loop if buffer alloc error.
2008-10-27 16:32:49 +00:00
Tim-Philipp Müller
2c4fc7cd4a ext/apexsink/gstapexplugin.c: Set apexsink's rank to NONE so it doesn't get used by autoaudiosink (there's no point r...
Original commit message from CVS:
* ext/apexsink/gstapexplugin.c: (plugin_init):
Set apexsink's rank to NONE so it doesn't get used by
autoaudiosink (there's no point really). (#556588)
2008-10-19 12:39:30 +00:00
Jan Schmidt
4dc1e6fb4f ext/apexsink/gstapexsink.c: Fix some more format string compiler warnings (from OS/X)
Original commit message from CVS:
* ext/apexsink/gstapexsink.c:
Fix some more format string compiler warnings (from OS/X)
2008-10-14 14:53:41 +00:00
Sebastian Dröge
14ecb602a6 ext/apexsink/gstapexraop.c: Fix format string compiler warnings.
Original commit message from CVS:
* ext/apexsink/gstapexraop.c: (gst_apexraop_connect),
(gst_apexraop_set_volume):
Fix format string compiler warnings.
2008-10-13 07:35:25 +00:00
Sebastian Dröge
77041e7412 ext/Makefile.am: Add apexsink to SUBDIRS. Fixes bug #555912.
Original commit message from CVS:
* ext/Makefile.am:
Add apexsink to SUBDIRS. Fixes bug #555912.
2008-10-12 17:04:17 +00:00