Commit Graph

23270 Commits

Author SHA1 Message Date
diego 851b1e6351 Fix "inline keyword not at beginning of declaration" warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23237 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-05 12:45:32 +00:00
voroshil b2f2ae5a60 r23225: The GUI no longer depends on libpng.
r23226: MJPEG decoding does not depend on libjpeg.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23236 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-05 02:34:46 +00:00
gpoirier e65b0f05bc sync with r23028, patch by JRaSH % jrash06 A 163 P com%
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23235 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-03 20:41:12 +00:00
eugeni 7a3a0a3225 Move variables and a function under #ifdef FC_VERSION to avoid warnings.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23234 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-03 20:10:14 +00:00
eugeni ef3fb052c2 Deallocate FontConfig objects.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23233 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-03 19:52:46 +00:00
eugeni 1ec5f31f72 Fix stupid bug in r23229.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23232 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-03 19:47:34 +00:00
eugeni e4855381f4 Deallocate string.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23231 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-03 19:33:35 +00:00
eugeni e3e99c086c In ass_font_new, allocate temporary ass_font_t on stack and return the pointer
to cache-owned copy. This fixes leaked ass_font_t struct.

Without this, font pointers obtained from ass_font_new() and
ass_font_cache_find() were different, and bitmaps rendered with the first one
could not be located in the cache later.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23230 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-03 19:26:43 +00:00
eugeni 0b8bd90b9e Make cache_*_add functions return the pointer to new (copied) value.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23229 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-03 19:13:54 +00:00
Gabrov 743321f962 synced with r23227
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23228 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-03 17:28:23 +00:00
cehoyos cce240cd0c add "level" as lavc option
Patch by Gustavo Sverzut Barbieri, barbieri ! gmail x com
reference:
Subject: [MPlayer-dev-eng] [PATCH] add "level" as option to lavc (aka
Mencoder generating PS3 playable h264 videos)
Date: 2007-05-03 13:56 +200


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23227 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-03 17:05:39 +00:00
diego 3354a2f874 MJPEG decoding does not depend on libjpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23226 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-03 14:37:34 +00:00
diego 4f174c61a7 The GUI no longer depends on libpng.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23225 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-03 14:36:46 +00:00
diego 32740e3894 Simplify libamr_nb test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23224 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-03 12:11:21 +00:00
diego 3aef73bd59 cosmetics: Rename remaining instances of amr_* to libamr_*.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23223 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-03 12:10:22 +00:00
diego 28639ae131 Rename amr_nb and amr_wb options to libamr_*.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23222 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-03 12:08:54 +00:00
diego d0c5bca869 FFmpeg sync: Rename AMR config settings to LIBAMR.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23221 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-03 12:07:13 +00:00
diego b7f32db6e8 cosmetics: Rename _amr* variables to _libamr*.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23220 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-03 12:04:29 +00:00
diego a6ccbf731f FFmpeg sync: Rename DTS_DECODER --> LIBDTS_DECODER.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23219 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-03 12:02:48 +00:00
reimar b850a6695d Use calloc instead of malloc+memset
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23218 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 16:42:31 +00:00
reimar bd83e685ec Missing free on error in conv24to32
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23217 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 16:39:35 +00:00
reimar 20fbe131b2 Simplify bgr2rgb
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23216 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 16:38:22 +00:00
reimar 20d2740764 Remove unused function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23215 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 16:26:58 +00:00
reimar 14fc62d117 Make functions and variables not used outside bitmap.c static
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23214 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 16:24:23 +00:00
reimar 4b0fd35ac2 Simplify conv24to32 for-loop
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23213 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 16:23:16 +00:00
reimar c3e24ef73f Remove useless extern before function prototypes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23212 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 16:17:16 +00:00
reimar bc39c06e4c Remove libpng dependency for Gui, use libavcodec instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23211 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 14:39:55 +00:00
reimar aefe177836 Disable internal vidix on PPC linux, it breaks compilation.
Proper fix welcome


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23210 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 14:21:25 +00:00
diego 0bcb845e12 Fix commit nick.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23209 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 10:51:57 +00:00
eugeni 9cda6a4834 Always deallocate glyphs. Fixes memory leak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23208 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 10:15:12 +00:00
benoit e6daddc0ad cosmetics: indentation after previous patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23207 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 07:02:16 +00:00
benoit 75535c7902 test if color conv fonction exists prior to using it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23206 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-02 07:00:10 +00:00
eugeni 476078aed2 Fix NULL pointer dereference in demux_mkv that happens when
demux_mkv_get_sub_lang (or demux_mkv_get_audio_lang) is called with an invalid
track number.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23205 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 23:04:21 +00:00
gpoirier a03e13b756 sync w/ r23162
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23204 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 22:08:26 +00:00
nicodvb 937e8a8249 dvdnav:// depends on our fork of libdvdnav
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23203 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 20:02:05 +00:00
nicodvb 53510640b5 reindented dvdread check block
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23202 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 19:55:15 +00:00
nicodvb 276e1a0442 libdvdnav now depends on our fork of the library; only the version without
the dvdread code will be used (libdvdnavmini);
move the dvdnav check code at the bottom of the list to prevent _ld_extra
to contain references to -ldvdnavmini that would make all the following tests
fail (because of the missing dvdread symbols).



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23201 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 19:54:13 +00:00
diego 1e7e180106 Reuse common Makefile infrastructure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23200 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 19:16:35 +00:00
diego 81a86e4f1e cosmetics: Move depend target (preparation for upcoming change).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23199 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 19:15:29 +00:00
diego 1ba3d51e2f Clarify whom to send translations to.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23198 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 17:45:06 +00:00
eugeni e23d5dacb7 Update comments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23197 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 15:54:00 +00:00
eugeni 22f759c04a Cosmetics.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23196 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 15:34:08 +00:00
eugeni f0ffc341b6 Move glyph_to_bitmap() call and outline glyph deallocation to
get_bitmap_glyph().


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23195 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 15:33:06 +00:00
gpoirier 6319a4e08f sync w/ r23152
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23194 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 15:23:04 +00:00
eugeni 6deff1f55a Minor code simplification.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23193 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 15:21:34 +00:00
eugeni eaa1f9ab16 Move get_bitmap_glyph() call to a separate loop.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23192 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 15:14:22 +00:00
eugeni 8ffc803841 Move transform_3d() call to get_bitmap_glyph().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23191 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 15:12:36 +00:00
eugeni 3e9be13d66 Make a function static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23190 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 15:07:41 +00:00
eugeni 005220995c Don't recalculate rotation radius.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23189 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 15:05:20 +00:00
eugeni 5221c54cb6 Bugfix: glyph cache depends on border width, because it contains outline_glyph
(glyph border obtained with FT_Glyph_StrokeBorder) since r23043.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23188 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-05-01 14:29:28 +00:00