mplayer.git
8 years agoMove static keyword to the beginning of function declarations.
diego [Thu, 19 Jan 2012 14:36:15 +0000 (14:36 +0000)]
Move static keyword to the beginning of function declarations.

This fixes a number of warnings with -Wextra.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34580 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoconfigure: Only test for Win32 threads on Windows.
diego [Thu, 19 Jan 2012 14:36:11 +0000 (14:36 +0000)]
configure: Only test for Win32 threads on Windows.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34579 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoconfigure: Enable os2threads support on OS/2.
diego [Mon, 16 Jan 2012 09:15:40 +0000 (09:15 +0000)]
configure: Enable os2threads support on OS/2.

patch by KO Myung-Hun, komh78 gmail com

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34578 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoFix seeking beyond EOF in stream_cdda to work with cache.
reimar [Sun, 15 Jan 2012 12:40:02 +0000 (12:40 +0000)]
Fix seeking beyond EOF in stream_cdda to work with cache.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34577 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoPrint an error when streams behave in a way that the cache cannot handle.
reimar [Sun, 15 Jan 2012 12:38:38 +0000 (12:38 +0000)]
Print an error when streams behave in a way that the cache cannot handle.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34576 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoFix seeking with e.g. flv files.
reimar [Sun, 15 Jan 2012 12:23:40 +0000 (12:23 +0000)]
Fix seeking with e.g. flv files.

This is a regression that was introduced in r34461.

Found and bisected by Anssi Hannula [anssi.hannula iki fi].

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34575 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoEliminate duplicate subtitle lines which will most likely
reimar [Sun, 15 Jan 2012 12:08:26 +0000 (12:08 +0000)]
Eliminate duplicate subtitle lines which will most likely
be artefacts from ASS effects.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34574 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoSSA reader: do not strip commas in commands.
reimar [Sun, 15 Jan 2012 11:18:13 +0000 (11:18 +0000)]
SSA reader: do not strip commas in commands.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34573 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoreimar says comments are C strings and so i move all urls to ;comments instead.
compn [Sat, 14 Jan 2012 23:56:28 +0000 (23:56 +0000)]
reimar says comments are C strings and so i move all urls to ;comments instead.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34572 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoSupport BW10 decoding via FFmpeg.
cehoyos [Sat, 14 Jan 2012 20:33:57 +0000 (20:33 +0000)]
Support BW10 decoding via FFmpeg.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34571 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoSDL: Try to select a fullscreen mode that does not require resolution changes by...
reimar [Sat, 14 Jan 2012 19:29:25 +0000 (19:29 +0000)]
SDL: Try to select a fullscreen mode that does not require resolution changes by default.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34570 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoAdd size to ICONERROR warning message.
ib [Sat, 14 Jan 2012 16:30:03 +0000 (16:30 +0000)]
Add size to ICONERROR warning message.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34569 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoAdd differently sized, new icons for the GUI.
ib [Sat, 14 Jan 2012 16:08:16 +0000 (16:08 +0000)]
Add differently sized, new icons for the GUI.

This closes Bugzilla #710.

In addition, icon themes are now supported.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34568 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoUse check items for audio, video and subtitle tracks.
ib [Sat, 14 Jan 2012 16:02:37 +0000 (16:02 +0000)]
Use check items for audio, video and subtitle tracks.

This way, the track being selected will be emphasized.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34567 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoFix vo_gl unsharp filter for chroma.
reimar [Sat, 14 Jan 2012 15:49:54 +0000 (15:49 +0000)]
Fix vo_gl unsharp filter for chroma.

The syntax is a bit strange, since for inputs the components
indicate swizzles, while for outputs it is only a write mask,
thus the result must be at the correct position regardless
of the component specified for the output.
So use a 3-component vector for the constant factor.
Also make the input swizzles explicit in an attempt to make
the code less confusing (that part does change what the code
actually does).
Previous code would result in a filter strength of 0 always
being used for chroma.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34566 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoDon't needlessly set variables.
ib [Sat, 14 Jan 2012 15:46:58 +0000 (15:46 +0000)]
Don't needlessly set variables.

These IDs have already been set by the mp_property_do() calls.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34565 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoFix -ass-styles with SRT subs and more.
reimar [Sat, 14 Jan 2012 14:06:29 +0000 (14:06 +0000)]
Fix -ass-styles with SRT subs and more.

The most visible problems are fixed by switching
SRT event "Style" value from first style to default_style.
To fix issues with overriding "Default" style, this adds a
dummy style first, to stop libass from adding a style with
the name "Default" (this is a problem since some of the
libass code picks the first, some the last style
- encoded in default_track - with the name "Default").
If after loading the ass-styles file there still is no
default style, MPlayer adds and sets its own.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34564 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoExtract setting up default ASS style to a separate function.
reimar [Sat, 14 Jan 2012 13:55:38 +0000 (13:55 +0000)]
Extract setting up default ASS style to a separate function.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34563 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoSupport RGB48 tiff decoding via FFmpeg.
cehoyos [Sat, 14 Jan 2012 12:56:28 +0000 (12:56 +0000)]
Support RGB48 tiff decoding via FFmpeg.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34562 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoCosmetic: Revise comment.
ib [Fri, 13 Jan 2012 17:16:35 +0000 (17:16 +0000)]
Cosmetic: Revise comment.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34561 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRemove unused parameter from uiMenuMouseHandle().
ib [Fri, 13 Jan 2012 16:44:35 +0000 (16:44 +0000)]
Remove unused parameter from uiMenuMouseHandle().

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34560 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRemove unused parameter from uiPlaybarShow().
ib [Fri, 13 Jan 2012 16:40:04 +0000 (16:40 +0000)]
Remove unused parameter from uiPlaybarShow().

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34559 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRemove unused parameter from wsXDNDProcessClientMessage().
ib [Fri, 13 Jan 2012 16:36:06 +0000 (16:36 +0000)]
Remove unused parameter from wsXDNDProcessClientMessage().

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34558 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoFix bug with switching audio and video tracks.
ib [Fri, 13 Jan 2012 16:19:35 +0000 (16:19 +0000)]
Fix bug with switching audio and video tracks.

The track did not change.

This closes Bugzilla #2001.

In addition, switching won't restart playback now.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34557 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoReplace deprecated avcodec functions by new ones.
ib [Fri, 13 Jan 2012 15:25:13 +0000 (15:25 +0000)]
Replace deprecated avcodec functions by new ones.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34556 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRemove unused parameter from create_MessageBox().
ib [Fri, 13 Jan 2012 14:12:32 +0000 (14:12 +0000)]
Remove unused parameter from create_MessageBox().

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34555 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoUse correct data types and common variable names in GTK callback functions.
ib [Fri, 13 Jan 2012 14:06:55 +0000 (14:06 +0000)]
Use correct data types and common variable names in GTK callback functions.

Don't use (void) user_data.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34554 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoProperly handle the lack of XShm.
ib [Thu, 12 Jan 2012 18:21:56 +0000 (18:21 +0000)]
Properly handle the lack of XShm.

The GUI compiles and runs fine without HAVE_SHM now.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34553 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRemove unnecessary #ifdef.
ib [Thu, 12 Jan 2012 16:14:20 +0000 (16:14 +0000)]
Remove unnecessary #ifdef.

If there is no XShape extension, Mask.Image will be ignored
(by wsSetShape()) anyway.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34552 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoCosmetic: Remove blank lines.
ib [Thu, 12 Jan 2012 16:08:07 +0000 (16:08 +0000)]
Cosmetic: Remove blank lines.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34551 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoSimplify XShape handling and setting of wsUseXShape.
ib [Thu, 12 Jan 2012 16:01:32 +0000 (16:01 +0000)]
Simplify XShape handling and setting of wsUseXShape.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34550 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoCosmetic: Remove braces.
ib [Thu, 12 Jan 2012 15:53:20 +0000 (15:53 +0000)]
Cosmetic: Remove braces.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34549 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoAlways inform / warn about missing shared memory / shape extension
ib [Thu, 12 Jan 2012 15:50:53 +0000 (15:50 +0000)]
Always inform / warn about missing shared memory / shape extension

Don't do so only after querying the extension.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34548 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRemove unnecessary #ifdef and #include.
ib [Thu, 12 Jan 2012 15:16:24 +0000 (15:16 +0000)]
Remove unnecessary #ifdef and #include.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34547 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoAdd user event evMenu.
ib [Thu, 12 Jan 2012 14:21:55 +0000 (14:21 +0000)]
Add user event evMenu.

(Unless the skin definable menu can't be properly handled with
mouse over and cursor keys, only the default menu will show up.)

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34546 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agopropagate the pts to vf_next_put_image(); fixes playback with -correct-pts when...
nicodvb [Thu, 12 Jan 2012 13:36:20 +0000 (13:36 +0000)]
propagate the pts to vf_next_put_image(); fixes playback with -correct-pts  when reencoding is necessary

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34545 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoFix bug with VCD stream calling DVD code.
ib [Thu, 12 Jan 2012 10:39:37 +0000 (10:39 +0000)]
Fix bug with VCD stream calling DVD code.

Additionally, remove unnecessary #ifdef.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34544 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoReplace goto label by an internal event case expression.
ib [Thu, 12 Jan 2012 10:31:39 +0000 (10:31 +0000)]
Replace goto label by an internal event case expression.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34543 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRemove all unnecessary #ifdefs from GUI code.
ib [Thu, 12 Jan 2012 10:08:25 +0000 (10:08 +0000)]
Remove all unnecessary #ifdefs from GUI code.

Move or add necessary ones.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34542 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoDefine (extern) sub_cp unconditionally.
ib [Thu, 12 Jan 2012 10:07:22 +0000 (10:07 +0000)]
Define (extern) sub_cp unconditionally.

It's declared unconditionally as well.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34541 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoReduce number and avoid conditional definition of searchpath variables.
ib [Tue, 10 Jan 2012 13:28:15 +0000 (13:28 +0000)]
Reduce number and avoid conditional definition of searchpath variables.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34540 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRetrieve DVD's titles, chapters and angles by stream control commands.
ib [Tue, 10 Jan 2012 12:04:50 +0000 (12:04 +0000)]
Retrieve DVD's titles, chapters and angles by stream control commands.

Don't access the private vmg_file member structure.

(This is missing in r34477.)

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34539 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRemove all #ifdef MP_DEBUG from Win32 GUI code.
ib [Tue, 10 Jan 2012 11:51:30 +0000 (11:51 +0000)]
Remove all #ifdef MP_DEBUG from Win32 GUI code.

Change mp_msg() level to MSGL_DBG2 instead.

Additionally, activate dumpwidgets().

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34538 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoForce "simple" IDCT to avoid different results on different PCs.
reimar [Sun, 8 Jan 2012 17:52:59 +0000 (17:52 +0000)]
Force "simple" IDCT to avoid different results on different PCs.

Also updated lots of changed references.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34537 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoFix directory creation in refupdate script.
reimar [Sun, 8 Jan 2012 15:38:22 +0000 (15:38 +0000)]
Fix directory creation in refupdate script.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34536 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRemove another md5sums reference file that missed the .md5 extension.
reimar [Sun, 8 Jan 2012 13:47:08 +0000 (13:47 +0000)]
Remove another md5sums reference file that missed the .md5 extension.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34535 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRemove file that was checked in accidentally (it was missing the .md5 part).
reimar [Sun, 8 Jan 2012 13:46:29 +0000 (13:46 +0000)]
Remove file that was checked in accidentally (it was missing the .md5 part).

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34534 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoFix testing of H.264 conformance tests.
reimar [Sun, 8 Jan 2012 10:47:41 +0000 (10:47 +0000)]
Fix testing of H.264 conformance tests.

Most of them need -fps to be accepted.
This obviously should be fixed, but is really low priority, so work around it instead.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34533 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoAdd a script to help update the references.
reimar [Sun, 8 Jan 2012 10:44:00 +0000 (10:44 +0000)]
Add a script to help update the references.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34532 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoAdd references for new fate samples.
reimar [Sun, 8 Jan 2012 10:15:51 +0000 (10:15 +0000)]
Add references for new fate samples.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34531 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRemove unused reference files.
reimar [Sun, 8 Jan 2012 10:14:00 +0000 (10:14 +0000)]
Remove unused reference files.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34530 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoPrint a hint if FATE_SAMPLES was not set and fatetest is run.
reimar [Sun, 8 Jan 2012 10:06:13 +0000 (10:06 +0000)]
Print a hint if FATE_SAMPLES was not set and fatetest is run.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34529 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoClean up faterun.sh.
reimar [Sun, 8 Jan 2012 09:28:51 +0000 (09:28 +0000)]
Clean up faterun.sh.

Better variable names, less duplicated code, some whitespace, variable quoting...

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34528 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoPut test-related code in Makefile under ifdef FATE_SAMPLES.
reimar [Sun, 8 Jan 2012 09:25:45 +0000 (09:25 +0000)]
Put test-related code in Makefile under ifdef FATE_SAMPLES.

Hopefully fixes the compile issues a lot of people experienced
(though I could not reproduce).

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34527 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoSupport cyuv uyvy422 rawvideo with -vc -ffcyuv,
cehoyos [Fri, 6 Jan 2012 00:18:56 +0000 (00:18 +0000)]
Support cyuv uyvy422 rawvideo with -vc -ffcyuv,

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34526 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoAdd support for additional libopenjpeg output formats.
reimar [Thu, 5 Jan 2012 20:35:07 +0000 (20:35 +0000)]
Add support for additional libopenjpeg output formats.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34525 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoAdd support for 422P9.
reimar [Thu, 5 Jan 2012 20:32:10 +0000 (20:32 +0000)]
Add support for 422P9.

For some reason only 9-bit 422 wasn't added before.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34524 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoSupport for Avid Meridian Uncompressed via FFmpeg.
cehoyos [Thu, 5 Jan 2012 20:18:38 +0000 (20:18 +0000)]
Support for Avid Meridian Uncompressed via FFmpeg.

Patch by Paul B Mahol, onemda gmail

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34523 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoAdd reference result for vble test file.
reimar [Thu, 5 Jan 2012 18:23:34 +0000 (18:23 +0000)]
Add reference result for vble test file.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34522 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoDisable wmv8_drm test.
reimar [Thu, 5 Jan 2012 16:17:36 +0000 (16:17 +0000)]
Disable wmv8_drm test.

Without the key it changes output with every change that
affects error concealment, making it not very useful.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34521 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoQCP files are audio-only, do not run them through video test.
reimar [Thu, 5 Jan 2012 16:06:16 +0000 (16:06 +0000)]
QCP files are audio-only, do not run them through video test.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34520 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoChange a few more pts-related float to double.
reimar [Thu, 5 Jan 2012 15:50:17 +0000 (15:50 +0000)]
Change a few more pts-related float to double.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34519 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoUse double also to calculate ogg subtitle pts.
reimar [Thu, 5 Jan 2012 15:48:37 +0000 (15:48 +0000)]
Use double also to calculate ogg subtitle pts.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34518 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRemove pointless cast.
reimar [Thu, 5 Jan 2012 15:46:48 +0000 (15:46 +0000)]
Remove pointless cast.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34517 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoCalculate Ogg timestamps as double instead of float.
reimar [Thu, 5 Jan 2012 15:45:33 +0000 (15:45 +0000)]
Calculate Ogg timestamps as double instead of float.

Patch by Giorgio Vazzana (mywing81 gmail com).

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34516 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoCheck for correct function (th_info_init, not theora_info_init) in libtheora test.
reimar [Thu, 5 Jan 2012 15:41:59 +0000 (15:41 +0000)]
Check for correct function (th_info_init, not theora_info_init) in libtheora test.

Patch by Giorgio Vazzana {mywing81 gmail com}.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34515 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoAdd more fate test reference results.
reimar [Thu, 5 Jan 2012 15:39:14 +0000 (15:39 +0000)]
Add more fate test reference results.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34514 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRemove #ifdef MP_DEBUG.
ib [Thu, 5 Jan 2012 14:40:36 +0000 (14:40 +0000)]
Remove #ifdef MP_DEBUG.

Additionally, revise a message.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34513 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoExplicitly enumerate all stream types.
ib [Thu, 5 Jan 2012 14:26:21 +0000 (14:26 +0000)]
Explicitly enumerate all stream types.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34512 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRemove pointless menu entry.
ib [Thu, 5 Jan 2012 13:55:03 +0000 (13:55 +0000)]
Remove pointless menu entry.

There is only a SubMenu, if there are entries,
so we don't need a "none" entry.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34511 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoUse empty1px.xpm instead of empty.xpm for check item (and similar) menus.
ib [Thu, 5 Jan 2012 13:50:34 +0000 (13:50 +0000)]
Use empty1px.xpm instead of empty.xpm for check item (and similar) menus.

This makes the menus look neater.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34510 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoUse check items for CD and VCD titles as well.
ib [Thu, 5 Jan 2012 12:55:33 +0000 (12:55 +0000)]
Use check items for CD and VCD titles as well.

This way, the title being played will be emphasized.

(Check items are already being used in the DVD menus.)

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34509 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoFix bug in CD / VCD / DVD related menus.
ib [Thu, 5 Jan 2012 12:44:02 +0000 (12:44 +0000)]
Fix bug in CD / VCD / DVD related menus.

Show titles and such only for the related stream type, not in all three menus.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34508 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoMove CD / VCD / DVD related menu code.
ib [Thu, 5 Jan 2012 12:35:37 +0000 (12:35 +0000)]
Move CD / VCD / DVD related menu code.

This saves three #ifdefs.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34507 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agobuild: Merge tests/Makefile into top-level Makefile and test non-recursively.
diego [Thu, 5 Jan 2012 12:08:36 +0000 (12:08 +0000)]
build: Merge tests/Makefile into top-level Makefile and test non-recursively.

Recursive Make is broken by design, always.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34506 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoMove some DVD related events.
ib [Thu, 5 Jan 2012 12:06:03 +0000 (12:06 +0000)]
Move some DVD related events.

This saves a #ifdef CONFIG_DVDREAD.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34505 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRemove #ifdef MP_DEBUG.
ib [Thu, 5 Jan 2012 11:39:27 +0000 (11:39 +0000)]
Remove #ifdef MP_DEBUG.

Change mp_msg() level to MSGL_DBG2 instead.

Additionally, revise messages.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34504 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoPort libtheora glue code to Theora 1.0 API.
diego [Wed, 4 Jan 2012 22:08:36 +0000 (22:08 +0000)]
Port libtheora glue code to Theora 1.0 API.

patch by Giorgio Vazzana, mywing81 gmail com

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34503 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agofmt-conversion.c: add a remark about the usage of #ifdef directives
siretart [Wed, 4 Jan 2012 20:30:10 +0000 (20:30 +0000)]
fmt-conversion.c: add a remark about the usage of #ifdef directives

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34502 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agolibmpdemux/mp_taglists.c: Replace #ifdef with #if directives
siretart [Wed, 4 Jan 2012 20:28:43 +0000 (20:28 +0000)]
libmpdemux/mp_taglists.c: Replace #ifdef with #if directives

Version comparisons in CPP expressions require a #if directive instead
of an #ifdef.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34501 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoSupport decoding AVrp, v308 and yuv4 via FFmpeg.
cehoyos [Wed, 4 Jan 2012 14:55:29 +0000 (14:55 +0000)]
Support decoding AVrp, v308 and yuv4 via FFmpeg.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34500 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agomake the checks for available codec id more robust
siretart [Wed, 4 Jan 2012 12:33:59 +0000 (12:33 +0000)]
make the checks for available codec id more robust

prefer the use of LIBAVUTIL_VERSION_MICRO over defines from config.h

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34499 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoconfigure: Simplify Theora check.
diego [Wed, 4 Jan 2012 10:39:38 +0000 (10:39 +0000)]
configure: Simplify Theora check.

The Theora check does some very elaborate tests to account for issues in
old libtheora versions.  Nowadays libtheora is stable and easy to test
for, so there is no longer a need for the extra complexity.

Also drop the Theora check that linked against tremor/bitwise.c.
Its purpose is now lost in the mists of time.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34498 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRemove unnecessary #include.
ib [Tue, 3 Jan 2012 23:50:52 +0000 (23:50 +0000)]
Remove unnecessary #include.

The #include is already in the header file where it has to be.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34497 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRemove (conditional and) unnecessary #include
ib [Tue, 3 Jan 2012 23:10:34 +0000 (23:10 +0000)]
Remove (conditional and) unnecessary #include

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34496 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoAdd checks for errors in stream_cdda's get_track_by_sector().
ib [Tue, 3 Jan 2012 20:47:36 +0000 (20:47 +0000)]
Add checks for errors in stream_cdda's get_track_by_sector().

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34495 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoAllow Windows style CDROM device names for Wine port.
ib [Tue, 3 Jan 2012 16:17:21 +0000 (16:17 +0000)]
Allow Windows style CDROM device names for Wine port.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34494 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoUse cdparanoia compatibility names for CD function calls.
ib [Tue, 3 Jan 2012 16:16:04 +0000 (16:16 +0000)]
Use cdparanoia compatibility names for CD function calls.

Allow using cdparanoia (in the Wine port, for example).

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34493 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoAllow compilation with Libav
siretart [Tue, 3 Jan 2012 15:51:26 +0000 (15:51 +0000)]
Allow compilation with Libav

Some CPP Macros and codec ids are not (yet) available in libav, so use
them only if they are actually defined. This doesn't work for code ids,
as they are defined as enums. Therefore, #ifdefs tests for the presence
of the respective codec.

This approach should also allow to compile mplayer against earlier
versions of FFmpeg.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34492 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoInitialize device options in guiInit().
ib [Mon, 2 Jan 2012 16:48:18 +0000 (16:48 +0000)]
Initialize device options in guiInit().

Don't do that just before playback starts.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34491 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoRemove pointless filename setting from device name.
ib [Mon, 2 Jan 2012 16:25:00 +0000 (16:25 +0000)]
Remove pointless filename setting from device name.

The filename will be set later during GUI_PREPARE.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34490 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoAllow uiPlay() without guiInfo.Filename for some stream types.
ib [Mon, 2 Jan 2012 16:24:06 +0000 (16:24 +0000)]
Allow uiPlay() without guiInfo.Filename for some stream types.

The stream types allowed set their filenames later.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34489 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoCosmetic: Adjust indent.
ib [Mon, 2 Jan 2012 15:28:30 +0000 (15:28 +0000)]
Cosmetic: Adjust indent.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34488 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoDon't explicitly set stream type if the type doesn't change.
ib [Mon, 2 Jan 2012 15:16:55 +0000 (15:16 +0000)]
Don't explicitly set stream type if the type doesn't change.

Use a self-explanatory symbolic constant which makes the code
more easily understandable.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34487 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoAdd support of compression algorithm 3 (header stripping) in mkv demuxer.
iive [Mon, 2 Jan 2012 12:53:20 +0000 (12:53 +0000)]
Add support of compression algorithm 3 (header stripping) in mkv demuxer.

Patch by Alexander Beregalov (a.beregalov gmail).

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34486 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoSupport FFmpeg v410 decoder.
cehoyos [Mon, 2 Jan 2012 11:26:00 +0000 (11:26 +0000)]
Support FFmpeg v410 decoder.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34485 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoSupport Y41P decoding via FFmpeg.
cehoyos [Mon, 2 Jan 2012 11:20:26 +0000 (11:20 +0000)]
Support Y41P decoding via FFmpeg.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34484 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoSynced with help_mp-en.h rev. 34475
jrash [Mon, 2 Jan 2012 03:34:19 +0000 (03:34 +0000)]
Synced with help_mp-en.h rev. 34475

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34483 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoUpdate copyright year.
cehoyos [Sun, 1 Jan 2012 04:09:35 +0000 (04:09 +0000)]
Update copyright year.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34482 b3059339-0415-0410-9bf9-f77b7e298cf2

8 years agoCosmetic: Collect together Wine port related functions.
ib [Sat, 31 Dec 2011 13:42:24 +0000 (13:42 +0000)]
Cosmetic: Collect together Wine port related functions.

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@34481 b3059339-0415-0410-9bf9-f77b7e298cf2