summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-22Remove an assertion which is always triggered.Darren Salt
2007-12-21More #include fixes.Darren Salt
2007-12-22Always enable a52dec capabilities for external a52dec.Diego 'Flameeyes' Pettenò
This make it possible to use the DJB accelerated FFT when using the external a52dec liba52 library. --HG-- extra : transplant_source : %03Y%0F%8C%F0%05%EE%F7%5E%2B%A9u%7D%96%F8%D2%13%CD%F4%9D
2007-12-22Fixed an input_pvr issue with 'set input' for ivtv versions 0.10.6+.Richard van Paasen
ivtv now requires the video device to be re-opened when the input is changed.
2007-12-27Add VO_PROP_OUTPUT_* to some other video output drivers (where trivial).Darren Salt
2007-12-27Remove long-obsolete automake patch.Darren Salt
2007-12-27xmlparser: fix token buffer being too smallMaximilian Schwerin
What this patch does is replace the token buffer of static size in xml_parser_get_node with a malloced buffer. If the lexer notices, that it needs more size it just increases the size of this buffer by factor two and tries again. This may not be very elegant, but it works. node_name and property_name are dynamically-sized too.
2007-12-27[Subtitles] SSA-tags patchDubois Nicolas
I watch a lot of movies with subtitles and I need "vobsub subtitles" work in xine, then I decide to write this patch. It may support SSA tags for all text subtiles (ssa, ass, srt, ...) This patch : 1. Remove all SSA tags from stream (they are ugly : {\a6}) 2. Handle some of them (b, i, a, an, pos). The other ones control colours, shadow, animation, ... I can't make them work in an easy way. 3. Correct wrap algorithm which have minors bugs (we can see them only with SSA patch...) Modified files : libsputext/demux_sputext.c just remove unneeded code (which remove some of SSA-tags) libsputext/xine_sputext_decoder.c the main modified file. video_out/video_out_xshm.c video_out/video_out_xv.c xine-engine/video_out.h get video output (position and size). See below. 1. Removing SSA tags is done in ogm_render_line_internal() like for html-like tags. (this was done in the previous version of xine) 2. b(bold) and i(italic) are implemented like html-ones, in ogm_render_line_internal(). The other tags this patch support are : aX : alignment in SSA-code anX : alignment in numpad code pos(X,Y) : position, depend on alignment For those ones, I need in first a full-screen OSD, not a five lines one. Then, I need to remember where the last subtitle was drawn, in order to erase it. At last, I need a translation function to convert subtitle coordinates in screen coordinates. For this last point, I first write a full-screen translation (don't care about blacks borders), but it's not really good: the 'pos' tag is sometime used to point out something in the video. (Moreover, ASS spec say we have to draw subtitle on the video) For doing this, I need the real video output size and position, which are only know by the video output driver! Then I had 4 VO properties (in xine-engine/video_out.h) for video driver could give us those informations. I implement it only in xshm and xv drivers (I can't test other ones). If video driver can't give us those informations, the patch fallback in a full-screen translation. 3. there was 3 problem with the wrap algorithm : 1. It was in double: exactly the same, twice. Look like a merge problem. I remove one and all work fine. 2. It want to cut string in equivalent display length but it cut it in equivalent byte length. In most cases, this is the same, but if we have UTF-8 chars or long SSA-tags (which will not be displayed) the result is strange. 3. If we have a too-long part (in bytes) of the string without spaces (bad subtitle file or long SSA-code), the algorithm don't know what to do. (this case is not handled) I re-write the wrap algorithm to correct those problems. Note that my version is slower than previous one : working with bytes is really faster than computing text-length. Maybe I should had to propose an other patch for this part...
2007-12-27net_plugin not always reading preview buffer to the maximum.Michel Verbraak
2007-12-27Update Provides, Conflicts & Replaces for libxine1.Darren Salt
2007-12-27Require external ffmpeg (for .deb builds).Darren Salt
Optionally depend on packages from debian-multimedia.
2007-12-26Correct another color→colour change to a struct member name.Darren Salt
2007-12-26Correct a color→colour change to a struct member name.Darren Salt
2007-12-26Fix pls parsing (broken in cset e0819c1c624a).Darren Salt
(transplanted from c139cfe735874922208d936c8e49bbfa532ed2ec) --HG-- extra : transplant_source : %C19%CF%E75%87I%22%20%8D%93l%8EI%BB%FAS.%D2%EC
2007-12-24Consistently use "colour", "colour key", "colour space" in output.Darren Salt
Some instances of "key colour" remain; ffmpeg is unmodified. This change has caused two strings with two translations to collide (the strings have become identical since some instances already used "colour"). I have therefore arbitrarily dropped the first of the differing translations, the one for the string at src/video_out/video_out_directfb.c:1365.
2007-12-24Spelling correction: successfuly → successfully.Darren Salt
2007-12-24Update Italian translation.Diego 'Flameeyes' Pettenò
2007-12-24Regenerate translations, so that the translators find the data updated.Diego 'Flameeyes' Pettenò
2007-12-20Correct some #includes.Darren Salt
2007-12-19Move code out of osd.h that was present only with __OSD_C__ defined.Diego 'Flameeyes' Pettenò
2007-12-19Mark more arrays as constant.Diego 'Flameeyes' Pettenò
2007-12-19Transform ignore_scheme into an array of arrays, padded at 8 bytes.Diego 'Flameeyes' Pettenò
2007-12-19Transform mmst_proto_s and mmsh_proto_s into arrays of arrays, padded at 8 ↵Diego 'Flameeyes' Pettenò
bytes. The size occupied will be smaller in 64-bit systems, and almost the same in 32-bit systems, but the access should be faster.
2007-12-19Remove orphaned functions.Diego 'Flameeyes' Pettenò
2007-12-19Mark static strings as const.Diego 'Flameeyes' Pettenò
2007-12-19Rewrite get_help function to use asprintf, without declaring the two ↵Diego 'Flameeyes' Pettenò
help1/help2 strings and without running two gettext() calls at every get_help() call.
2007-12-19Mark static strings as const.Diego 'Flameeyes' Pettenò
2007-12-19Mark static strings as const.Diego 'Flameeyes' Pettenò
2007-12-19Mark tv_standard_names and tv_standard_value static.Diego 'Flameeyes' Pettenò
2007-12-19Mark handled_mrl const and make it a char array.Diego 'Flameeyes' Pettenò
Use sizeof rather than strlen.
2007-12-19Use asprintf rather than snprintf, make frontend_device a local variable, ↵Diego 'Flameeyes' Pettenò
and make sure to free the allocated variables on error.
2007-12-19Mark the name attribute of Param being a const char *.Diego 'Flameeyes' Pettenò
2007-12-19Mark content static and const.Diego 'Flameeyes' Pettenò
2007-12-19Make buffering and enabled static, also use them as array of char array ↵Diego 'Flameeyes' Pettenò
rather than array of pointers.
2007-12-19Use memmem to search for the Annodex string, rather than reimplementing it ↵Diego 'Flameeyes' Pettenò
by hand.
2007-12-19Mark Annodex signature and its size static and constant.Diego 'Flameeyes' Pettenò
2007-12-19Merge from 1.2 branch.Diego 'Flameeyes' Pettenò
--HG-- rename : src/xine-utils/xineutils.h => include/xine/xineutils.h
2007-12-19Rename spu.c and spu.h to spudec.c and spudec.h to avoid confusing the two ↵Diego 'Flameeyes' Pettenò
source and header files. --HG-- rename : src/libspudec/spu.c => src/libspudec/spudec.c rename : src/libspudec/spu.h => src/libspudec/spudec.h
2007-12-19Update all the code to the new headers layout.Diego 'Flameeyes' Pettenò
2007-12-19Typo.Darren Salt
2007-12-19Add and use new functions for malloc+memcpy(+NUL-term) fragments.Darren Salt
2007-12-19Consolidate all public include files into include/xine directory.Diego 'Flameeyes' Pettenò
--HG-- rename : src/xine-engine/alphablend.h => include/xine/alphablend.h rename : src/xine-utils/array.h => include/xine/array.h rename : src/xine-utils/attributes.h => include/xine/attributes.h rename : src/xine-engine/audio_decoder.h => include/xine/audio_decoder.h rename : src/xine-engine/audio_out.h => include/xine/audio_out.h rename : src/xine-engine/broadcaster.h => include/xine/broadcaster.h rename : src/xine-engine/buffer.h => include/xine/buffer.h rename : src/xine-utils/compat.h => include/xine/compat.h rename : src/xine-engine/configfile.h => include/xine/configfile.h rename : src/demuxers/demux.h => include/xine/demux.h rename : src/xine-engine/info_helper.h => include/xine/info_helper.h rename : src/input/input_plugin.h => include/xine/input_plugin.h rename : src/xine-engine/io_helper.h => include/xine/io_helper.h rename : src/xine-utils/list.h => include/xine/list.h rename : src/xine-engine/metronom.h => include/xine/metronom.h rename : src/xine-engine/osd.h => include/xine/osd.h rename : src/xine-engine/plugin_catalog.h => include/xine/plugin_catalog.h rename : src/xine-utils/pool.h => include/xine/pool.h rename : src/xine-engine/post.h => include/xine/post.h rename : src/xine-engine/refcounter.h => include/xine/refcounter.h rename : src/xine-engine/resample.h => include/xine/resample.h rename : src/xine-utils/ring_buffer.h => include/xine/ring_buffer.h rename : src/xine-engine/scratch.h => include/xine/scratch.h rename : src/xine-utils/sorted_array.h => include/xine/sorted_array.h rename : src/xine-engine/spu.h => include/xine/spu.h rename : src/xine-engine/spu_decoder.h => include/xine/spu_decoder.h rename : src/xine-engine/video_decoder.h => include/xine/video_decoder.h rename : src/xine-engine/video_out.h => include/xine/video_out.h rename : src/xine-engine/video_overlay.h => include/xine/video_overlay.h rename : src/xine-engine/vo_scale.h => include/xine/vo_scale.h rename : src/xine-utils/xine_buffer.h => include/xine/xine_buffer.h rename : src/xine-engine/xine_internal.h => include/xine/xine_internal.h rename : src/xine-engine/xine_plugin.h => include/xine/xine_plugin.h rename : src/xine-engine/xineintl.h => include/xine/xineintl.h rename : src/xine-utils/xineutils.h => include/xine/xineutils.h rename : src/xine-utils/xmllexer.h => include/xine/xmllexer.h rename : src/xine-utils/xmlparser.h => include/xine/xmlparser.h
2007-12-19Don't change the whole xine.h.in into xine.h, just split out the version ↵Diego 'Flameeyes' Pettenò
information in xine/version.h. --HG-- rename : include/xine.h.in => include/xine.h
2007-12-19Remove xine_strdupa declaration, and macro.Diego 'Flameeyes' Pettenò
2007-12-19Use a zeroed allocation for buf rather than using memset.Diego 'Flameeyes' Pettenò
2007-12-19Use strcat, delay calculation of resp_len.Diego 'Flameeyes' Pettenò
2007-12-19Remove attribute that is never used.Diego 'Flameeyes' Pettenò
2007-12-19Make auth also a local variable in http_plugin_open.Diego 'Flameeyes' Pettenò
2007-12-19Make proxyauth a variable local to http_plugin_open() function.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %F2%15%E8%D0%BC%EE%04Xk%21U%D2%AB%968%0F%15%8A%91E
2007-12-18Merge from 1.1.Darren Salt