voroshil
e4e63d7a04
Revert r25089 (Ignore video formats which are supported by device
...
but not supported by dshow driver).
It prevents code from r25091 (probing undeclared formats) functioning
properly: those code is never called if all declared by device formats
are unsupported by MPlayer (even if undeclared one is supported).
After this revert PVR-150 card should work as expected.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25155 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-24 07:51:31 +00:00
voroshil
d0fa6cd8c8
Move requested format at top and shift all oters down
...
This method is better with recent negotiation code:
requested formats will be checked first.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25154 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-24 07:28:05 +00:00
voroshil
fd10d43723
Сreate empty format arrays in case of error in init_chain_common.
...
Fixes segfault for cards without audio capture pin
in main capture filter.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25153 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-24 06:01:18 +00:00
ulion
33ae3abe14
Support convert 14-bit DTS stream into 16-bit stream if needed,
...
so we have space to add the IEC header for it.
DTS WAV/CD normally is 14-bit LE format, now we can passthrough it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25152 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-24 01:35:29 +00:00
nicodvb
298f569c21
pgc->subp_control and pgc->audio_control are no more bitfields,
...
but plain uint32_t and uint16_t respectively; replaced access
to bitfield members with bitmask operations (and removed some
ugly macro)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25151 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-23 21:12:11 +00:00
nicodvb
a8449bf462
replaced audio_mapping_t and sub_mapping_t with uint16_t and uint32_t
...
respectively: conditional bitfields don't have the slightest chance
to be cross-platform, thus they are definitively broken.
Fixed the other files to use bitmasks instead of accessing the
previous bitfield members
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25150 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-23 21:09:06 +00:00
ulion
9ba75c2ccf
Fix memory leak of image_data.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25149 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-23 13:46:38 +00:00
ulion
df036d0bf5
Fix a memory leak when working in shared_buffer mode.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25148 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-23 13:22:21 +00:00
ulion
5363464d0a
Check boundary for queue's current_index.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25147 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-23 13:17:36 +00:00
diego
5de794723e
Clarify playtree explanation.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25146 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-23 12:01:13 +00:00
iive
958c41d9b6
Bring (de)muxer_lavf up to date with the libavformat API changes introduced by FFmpeg commit r11071.
...
Patch for demuxer_lavf.c by Chris Welton - electrostatic_1 at yahoo
Patch for muxer_lavf.c by me.
Approved by michaelni.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25145 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-23 10:44:33 +00:00
lu_zero
5b1720b92b
Enable Theora support
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25144 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-23 07:25:39 +00:00
ulion
70e7acda26
Prevent from using data->len when data is NULL (when play() return NULL).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25143 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-23 05:50:34 +00:00
ulion
4f1228ed5e
Move the setCurrentTexture call into flip_page(), fix osd flicker problem.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25142 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-23 04:49:10 +00:00
diego
a6f2e317f2
Fix half-baked last commit.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25141 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-22 23:08:35 +00:00
nicodvb
98fe636509
don't include anymore the dvdread headers from the dvdnav directory
...
(the right ones are included in the #else). Patch by Rathann
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25140 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-22 22:41:08 +00:00
diego
01d988f011
Remove ! operator hack, we require a POSIX-compatible-shell.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25139 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-22 17:11:38 +00:00
diego
330f7ff8eb
Invert the logic to check the cmp return value cmp to avoid using the ! operator.
...
Useful on non-POSIX shells that do not support the ! operator. We normally
require a POSIX-compatible shell, but in this case the change is acceptable
since it does not complicate configure nor hurt readability.
patch by Ralf Menzel, menzel ls6.cs.uni-dortmund de
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25138 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-22 16:46:48 +00:00
diego
27fa018d05
comment spelling/grammar fixes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25137 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-22 10:27:58 +00:00
gpoirier
86b52f44ed
mention VC-1/WMV MMX speed-up in the changelog
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25136 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-22 10:10:03 +00:00
iive
07c7b70714
Fix compilation error.
...
FFmpeg commit r11071 removed the static ByteIOContext from AVFormatContext
and replaced it with a dynamic one.
Thus muxer_lavf.c needs to be modified to reflect the change.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25135 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-22 00:22:29 +00:00
ulion
248c247785
Fix a wrong cmdline example of using -menu-chroot.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25134 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-21 17:15:20 +00:00
voroshil
3ce51a62d3
Compilation fix (typo)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25133 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-21 13:55:39 +00:00
lu_zero
2978db1577
AAC support (aac-hbr only)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25132 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-21 13:03:58 +00:00
lu_zero
8b03e2ecce
Media Format to fourcc conversion (from amol)
...
Factorize out some if clauses
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25131 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-21 13:03:08 +00:00
ulion
0d8f770724
Make hwdts support more dts format identification, 14bits or 16bits, LE or BE.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25130 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-21 09:41:07 +00:00
diego
a80b002687
Rename timer-lx.c --> timer-linux.c.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25129 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-21 09:25:10 +00:00
diego
4bb3d604d5
main() --> main(void)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25128 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-21 09:22:33 +00:00
diego
d601affdb1
main() --> main(void)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25127 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-21 09:17:04 +00:00
diego
adf572f304
Remove unused function write_psm_block(), fixes the warning:
...
muxer_mpeg.c:763: warning: 'write_psm_block' defined but not used
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25126 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-21 09:14:01 +00:00
ulion
586f07744c
Support dump AF_FORMAT_AC3 format.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25125 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-21 08:55:41 +00:00
voroshil
02159c2be1
Sizes of arpmt and arStreamCaps must be equal.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25124 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-21 03:49:23 +00:00
zuxy
dc232a3d79
vcd://<n> now works for MinGW32 too, hence the updated doc
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25123 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-21 02:41:25 +00:00
voroshil
01658583a4
Move code related to chain initialization and similar
...
for different chains to separate routine.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25122 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-20 19:33:27 +00:00
voroshil
49b320c00c
Fix mplayer crash caused by r25116
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25121 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-20 17:19:16 +00:00
kostya
cf446beff5
Musepack SV8 lavc decoder support
...
Patch okayed by Diego on IRC
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25120 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-20 17:08:12 +00:00
diego
4ac3e237ef
Put colon inside replaceable tag.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25119 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-20 11:26:37 +00:00
voroshil
7c9a04f6c0
Remove no more needed check
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25118 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-20 10:02:19 +00:00
voroshil
298dd31e32
Fix totally wrong (due to mess of brackets) structures size check.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25117 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-20 10:01:14 +00:00
voroshil
a9aa43a249
Replace several parameters for get_available_formats_stream
...
and get_available_formats_pin with one chain structure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25116 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-20 09:02:43 +00:00
voroshil
23cc31e505
New routine for reconnecting two pins with new media type
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25115 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 20:19:33 +00:00
voroshil
12fd879776
Move pointer to SampleGrabber filter into chain structure.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25114 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 19:49:17 +00:00
voroshil
423882fe73
Move common chain uninit code into separate routine.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25113 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 19:45:01 +00:00
voroshil
54203fe1d1
pass chain structure instead of several variables to build_sub_graph
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25112 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 19:33:53 +00:00
voroshil
002759bb8a
fix missed change
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25111 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 19:25:25 +00:00
voroshil
2390359b25
Add capture filter's pointer to vbi chain structure too.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25110 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 19:24:21 +00:00
voroshil
8e2f39307a
Code unification: get rid of local variable arpmtVBI
...
and use chain structure's arpmt member.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25109 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 19:15:36 +00:00
voroshil
2f8d411130
Add major media type to chain structure
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25108 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 19:02:09 +00:00
voroshil
110184516b
One step of code cleanup: move all variables, related
...
to audio/video/vbi chains of filters into separate structure
(will simplify some parts of code in future)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25107 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 18:53:13 +00:00
ulion
d572315b2a
Let NSApp handle events when uninit to fix the delay dealloc bug of mpGLView.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25106 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-19 12:01:30 +00:00