Commit graph

64 commits

Author SHA1 Message Date
Wim Taymans
77299ba6ae fix for caps api changes 2012-03-11 19:06:59 +01:00
Wim Taymans
de1f89bf07 GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING 2012-02-08 16:37:13 +01:00
Mark Nauwelaerts
12ee41829c port some more to new memory API
Fixes #668677.
2012-01-25 18:50:40 +01:00
Wim Taymans
27ee60a27b port to new gthread API 2012-01-19 11:34:26 +01:00
Wim Taymans
940de5b195 add parent to pad functions 2011-11-17 15:53:42 +01:00
Wim Taymans
6d92ecac75 add parent to query function 2011-11-16 17:30:38 +01:00
Wim Taymans
5231ae7252 _peer_get_caps() -> _peer_query_caps() 2011-11-15 17:24:07 +01:00
Wim Taymans
03713e5045 change getcaps to query 2011-11-15 16:34:13 +01:00
Wim Taymans
9b41017f9d assrender: fix compilation 2011-10-27 16:23:10 +02:00
Wim Taymans
ce41348f78 Merge branch 'master' into 0.11 2011-10-27 16:13:56 +02:00
Tim-Philipp Müller
4060056ce6 assrender, nuvdemux: unref buffers with gst_buffer_unref() 2011-10-18 14:41:48 +01:00
Wim Taymans
67dac04012 assrender: port to 0.11 2011-10-06 10:59:58 +02:00
Nicolas Dufresne
e8d24859ca Fix compilation for unused but not set
https://bugzilla.gnome.org/show_bug.cgi?id=654572
2011-07-20 13:11:53 -04:00
David Schleef
51e6acad1f assrender: refactor blitting, avoid writing past end of buffer
Previous blitting code could potentially write past the
end of the buffer if the x or y position was odd, and for
the same underlying reason, didn't get the chroma registration
correct in the odd position case.

https://bugzilla.gnome.org/show_bug.cgi?id=647830
2011-04-16 12:10:14 +01:00
Edward Hervey
6158953f58 assrender: Remove dead assignments 2010-11-25 18:26:21 +01:00
Mart Raudsepp
c364f2b46b assrender: Remove unused src_stride variable from blit functions 2010-11-09 23:36:59 +00:00
Tim-Philipp Müller
144d43bcef assrender, ivfparse, jpegformat: fix compiler warnings with debugging disabled in core 2010-06-27 11:25:20 +01:00
Tim-Philipp Müller
f1f478ff46 assrender: pass constant string as format string to printf
Fix compiler warning about non-string literal being passed as
first argument to print.
2010-04-08 01:41:31 +01:00
Sebastian Dröge
852be755dd assrender: Drop text buffers before the segment start and clip running time end to the segment stop 2010-02-27 11:43:49 +01:00
Sebastian Dröge
659776f1b1 assrender: Consume text buffers if they're to be displayed in the next 500ms
Instead of only consuming them if they're to be display now. Consuming
them then might make following buffers with the same timestamp to
be too late.
2010-02-27 11:43:49 +01:00
Sebastian Dröge
0dbe95a97d assrender: Protect libass structures from concurrent access from multiple threads
Fixes bug #608751.
2010-02-23 18:16:48 +01:00
Sebastian Dröge
e8e3192a6e assrender: If no codec data is set, still initialize the ass track 2010-02-16 22:22:39 +01:00
Grigori Goronzy
934c91682f assrender: instruct libass to use light autohinting
Fixes bug #608753.
2010-02-02 08:55:59 +01:00
Eric Appleman
febb13d26f assrender: Don't scan current working directory recursively for fonts
This can take a very long time and also libass will overwrite files
if there's an embedded font with the same filename as an existing file.

Fixes bug #575878 and #608706.
2010-02-02 08:53:53 +01:00
Sebastian Dröge
bb757ad0bb assrender: Improve debug output a bit and simplify code 2010-01-14 12:59:21 +01:00
Sebastian Dröge
d85be17a00 assrender: Make sure that the video buffer is writable before writing to it 2010-01-14 12:57:04 +01:00
Sebastian Dröge
544c9d0151 assrender: Implement srcpad query function to always forward to the video sinkpad 2009-12-09 10:00:04 +01:00
Sebastian Dröge
876cfb3d26 assrender: Proxy buffer allocation on video sinkpad to the srcpad
...and add getcaps function to the video sinkpad.
2009-12-09 10:00:04 +01:00
Sebastian Dröge
44aba00375 assrender: Implement srcpad event functions for seeking and correct event forwarding
Copied from textoverlay.
2009-12-09 10:00:04 +01:00
Sebastian Dröge
c3e42004d1 assrender: Add docs and integrate into the docs build system 2009-12-08 14:46:35 +01:00
Sebastian Dröge
d7e58ce0a9 assrender: For synchronizing the text, take the video running time of the next frame
This makes sure that libass already has all text buffers for the next frame
at the time when the next frame is processed. Without this text buffers
might be one frame late or not shown at all if they're only shown for a
single frame.
2009-12-08 14:06:23 +01:00
Sebastian Dröge
77d0ded9ed assrender: Fix I420 mode and enable it 2009-12-08 14:00:25 +01:00
Sebastian Dröge
5076cdc6f9 assrender: Fix compilation with older libass versions 2009-12-08 11:26:15 +01:00
Sebastian Dröge
925b57f7e9 assrender: Don't unref buffers twice 2009-12-07 18:35:40 +01:00
Sebastian Dröge
d06e9c40e6 assrender: Improve embedded font usage
For this add some new mimetypes and also check the filename extension.

Fixes bug #603938.
2009-12-07 18:31:24 +01:00
Sebastian Dröge
875811d7e7 assrender: Disable I420 support for now, it doesn't work reliable yet 2009-12-07 18:03:26 +01:00
Sebastian Dröge
098f39a42a assrender: Add support for I420 2009-12-07 18:00:29 +01:00
Sebastian Dröge
d8fc5de450 assrender: Optimize blit function and add support for all other non-alpha RGB formats
Also make sure to not write behind array bounds.
2009-12-07 17:10:34 +01:00
Sebastian Dröge
3e55a5ba7f assrender: Fix attachment tag handling and move it into a separate function
...to prevent code duplication.
2009-12-07 14:35:55 +01:00
Sebastian Dröge
2852ecbe12 assrender: Update text last stop after checking if timestamp/duration is valid 2009-12-07 14:26:46 +01:00
Sebastian Dröge
a009463d3f assrender: If an ASS track was allocated already only feed new codec_data to it instead of recreating 2009-12-07 14:23:22 +01:00
Sebastian Dröge
b502383f18 assrender: Lots of random cleanup and some minor memleak fixes 2009-12-07 14:05:22 +01:00
Sebastian Dröge
ebc1f45f38 assrender: Extract embedded fonts from the subtitle streams if requested 2009-12-07 13:40:56 +01:00
Sebastian Dröge
dc42da1bd4 assrender: Don't let libass print stuff on stderr but proxy the messages to the GStreamer debugging system 2009-12-07 13:28:22 +01:00
Sebastian Dröge
a95d960527 assrender: The text and video duration should only compared as running time too
The end times of the text and video buffers could be different than
their start running time + duration because of different rates.
2009-11-06 11:44:50 +01:00
Sebastian Dröge
229d50d309 assrender: Reset segments on FLUSH_STOP events 2009-11-06 07:13:10 +01:00
Sebastian Dröge
1cf221f4f4 assrender: Improve debugging 2009-11-06 07:13:10 +01:00
Sebastian Dröge
2d043ef744 assrender: Update last stop for the subtitles 2009-11-05 17:13:36 +01:00
Sebastian Dröge
51da9d976f assrender: Synchronize text and video by taking the running time instead of the stream time 2009-11-05 17:07:04 +01:00
Sebastian Dröge
8feed39593 assrender: Keep track of the subtitle segments 2009-11-05 17:07:04 +01:00