Commit Graph

55 Commits

Author SHA1 Message Date
Johns c8c760a069 Make pthread_setname_np optional for older glibc. 2011-12-31 17:28:58 +01:00
Johns 0c7170989d Remove warning, when building without vdpau. 2011-12-30 21:50:58 +01:00
Johns 12bfab3f10 Name threads for easier debugging. 2011-12-30 16:47:57 +01:00
Johns bded2ae5df Prepared vdpau noise reduction support. 2011-12-29 19:45:00 +01:00
Johns 1f2d1d235e Vpdau displays black, when no video available. 2011-12-29 17:47:21 +01:00
Johns f179264468 Fix bug: CodecVideoDecode destroys avpkt. 2011-12-29 13:43:12 +01:00
Johns 23300b0383 Add missing VdpauDecoderDestroy. 2011-12-29 00:55:57 +01:00
Johns baf10db48e Cleanup video packet ringbuffer. 2011-12-26 14:27:12 +01:00
Johns 7fbfe0396e Allow build without VDPAU. 2011-12-26 14:25:42 +01:00
Johns a5c28b9fe2 Fix bug: swapped end and start. 2011-12-25 17:23:29 +01:00
Johns 7f0ad63209 Support other than "PCM" alsa mixer channels. 2011-12-25 15:36:04 +01:00
Johns 10ab0274ab Show time used for VdpDecoderRender. 2011-12-25 11:50:17 +01:00
Johns 83413c1adf Use only one thread for hw decoding. 2011-12-25 11:36:02 +01:00
Johns 63d18ea488 Fix bug: wrong aspect video size calculation. 2011-12-25 11:35:18 +01:00
Johns 8b57af53b6 Cleanups + Version 0.1.2 released. 2011-12-24 15:27:46 +01:00
Johns f18b0bda1c Libav needs buggy ffmpeg workaround.
Fix buggy ffmpeg/libav workaround, reset flag.
2011-12-23 23:01:30 +01:00
Johns a8259bec65 Fix libav compatibility. 2011-12-23 22:08:51 +01:00
Johns 58800f57f6 Wrong decoder->SurfaceField again. 2011-12-23 20:51:02 +01:00
Johns d574fbe8b3 Remove interlaced_frame debug, it can't be used. 2011-12-23 20:31:52 +01:00
Johns 34c72d08b3 New video stream never reset, if buffer full. 2011-12-23 20:20:55 +01:00
Johns 06fddc206e Initial vdpau hw decoder support. 2011-12-23 19:33:30 +01:00
Johns 1e18da47f7 Fix uninitialized 'filled'. 2011-12-23 00:14:50 +01:00
Johns ba50ea7123 Fix vdpau hangup when switching none/interlaced. 2011-12-23 00:09:59 +01:00
Johns 7057c188d8 Cleanup on destroy decoder. 2011-12-22 23:05:22 +01:00
Johns 9f637f986e Add video/audio sync to vdpau. 2011-12-22 22:20:52 +01:00
Johns 18e9e2f69e Initial vdpau osd support. 2011-12-22 21:25:38 +01:00
Johns afd7dfe402 Initial vdpau support. 2011-12-22 18:01:17 +01:00
Johns 37192d5b53 Reorder pts. 2011-12-20 15:05:35 +01:00
Johns 8a98257515 libav 0.7.2 has no avcodec_open2. 2011-12-19 23:34:47 +01:00
Johns 36b285b5f7 Audio/video sync improvements.
Configurable audio delay.
Use monotonic pts.
Support old libav or ffmpeg libraries.
2011-12-19 17:11:25 +01:00
Johns 33460f1370 Store config values, when menu leaves. 2011-12-17 19:25:08 +01:00
Johns 5ec46e94b4 Adds setup.conf documentation. 2011-12-16 22:34:54 +01:00
Johns de6776a885 Support xcb_set_wm_protocols for xcb-util <0.3.8. 2011-12-16 10:14:53 +01:00
Johns 3da81fdfcc New video/audio sync code. 2011-12-15 22:45:55 +01:00
Johns c79d992a81 Use current configuration for setup menu. 2011-12-15 16:02:32 +01:00
Johns 5ca9bedda8 Initial support of replay. 2011-12-14 18:01:03 +01:00
Johns 4bd1d0ba3f Adds missing "po" directory. 2011-12-14 15:58:18 +01:00
Johns a38cf3d9ae Add vaSyncSurface for new surface displayed.
Intel 1080i needs sync to have frame decoded.
Nvidia drops frames, if always synced.
2011-12-13 18:06:25 +01:00
Johns 61cbb31d3d Workaround for 1080i with intel driver 1.0.15. 2011-12-13 17:23:06 +01:00
Johns edfb9932c0 Add deinterlace/scaling modes to setup. 2011-12-12 17:06:05 +01:00
Johns fa970400f1 DisplayFrame displays now only a single frame. 2011-12-12 17:04:41 +01:00
Johns 8853c06375 Add guards against cleanup errors. 2011-12-11 19:45:21 +01:00
Johns 12da237cc3 Fix: indent broke VERSION extraction. 2011-12-11 19:43:37 +01:00
Johns 24132171f6 Thread init/exit moved into own functions. 2011-12-11 19:42:22 +01:00
Johns 749b0d6721 Video enhancements.
Pass PTS to video codec.
Flush audio buffer on channel change.
Sync audio + video stream.
Add workaround for Intel VA-API driver that forgets OSD position/size.
2011-12-10 00:15:38 +01:00
Johns e1d8609143 Pass audio PTS to codec.
Correct PTS extraction and pass it to codec module.
C++ destructor calls C function.
Fix spuDecoder is used uninitialized.
2011-12-08 20:50:32 +01:00
Johns 74c509a3e0 Audio improvement (missing headerfile). 2011-12-08 20:48:57 +01:00
Johns 3f8ff57e30 Audio improvement.
Made audio thread cancelable.
Calculate audio PTS.
Disable alsa message to stderr.
Better buffer flush with threaded play.
Prepared audio resample, for unsupported number of audio channels.
2011-12-08 20:45:20 +01:00
Johns fc2580dc2a Use old aspect-ratio, make thread joinable. 2011-12-08 17:38:39 +01:00
Johns 309e8e14e9 Reduce program exit crashes, due ... 2011-12-07 22:28:54 +01:00