summaryrefslogtreecommitdiff
path: root/libavdevice/sdl.c
Commit message (Collapse)AuthorAge
* lavd: drop SDL1 device and SDL1 supportJosh de Kock2016-09-24
| | | | Signed-off-by: Josh de Kock <josh@itanimul.li>
* Merge commit '9200514ad8717c63f82101dc394f4378854325bf'Derek Buitenhuis2016-04-10
| | | | | | | | | | | | | | | | * commit '9200514ad8717c63f82101dc394f4378854325bf': lavf: replace AVStream.codec with AVStream.codecpar This has been a HUGE effort from: - Derek Buitenhuis <derek.buitenhuis@gmail.com> - Hendrik Leppkes <h.leppkes@gmail.com> - wm4 <nfxjfg@googlemail.com> - Clément Bœsch <clement@stupeflix.com> - James Almer <jamrial@gmail.com> - Michael Niedermayer <michael@niedermayer.cc> - Rostislav Pehlivanov <atomnuker@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* sdl: Remove AVPicture usageTimothy Gu2016-02-02
|
* lavd: add categories to device implementationsLukasz Marek2014-03-03
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/sdl: reset context variables after destroyLukasz Marek2014-02-08
| | | | | | | | | | | | | SDL device reports double free or hangs when quiting. Reseting variables solves the issue. The issue is caused by double call of write_trailer callback. It is called for the first time in write_packet when quit flag is set. Second call comes from ffmpeg.c or may come from other client application. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/sdl: make waiting spurious wakeup awareLukasz Marek2014-02-08
| | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/sdl: add delay when no events are found in the event queueStefano Sabatini2013-11-26
| | | | | | Avoid busy loops and decrease CPU usage. Suggested-By: Roger Pack
* lavd/sdl: apply misc cosmetics to optionsStefano Sabatini2013-11-26
|
* lavd/sdl: allow to change window sizeStefano Sabatini2013-11-26
|
* lavd/sdl: move compute_overlay_rect() before event_thread()Stefano Sabatini2013-11-26
| | | | It will be used in event_thread() in a pending patch.
* lavd/sdl: factorize overlay rect size in a separate functionStefano Sabatini2013-11-26
|
* lavd/sdl: add event handler threadStefano Sabatini2013-11-26
| | | | | | | SDL_Init() is called on the event handler thread, as required by SDL in Windows to avoid deadlocks as discovered by Roger Pack. Fix trac ticket #1743 and #1744.
* lavd/sdl: do not manually free window_title and icon_title fieldsStefano Sabatini2013-11-24
| | | | They are automatically freed when calling av_write_trailer(). Simplify.
* libavdevice sdl: added window_fullscreen option to switch SDL output into ↵dronus2013-03-18
| | | | fullscreen mode
* Merge commit '716d413c13981da15323c7a3821860536eefdbbb'Michael Niedermayer2012-10-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '716d413c13981da15323c7a3821860536eefdbbb': Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat Conflicts: doc/examples/muxing.c ffmpeg.h ffmpeg_filter.c ffmpeg_opt.c ffplay.c ffprobe.c libavcodec/8bps.c libavcodec/aasc.c libavcodec/aura.c libavcodec/avcodec.h libavcodec/avs.c libavcodec/bfi.c libavcodec/bmp.c libavcodec/bmpenc.c libavcodec/c93.c libavcodec/cscd.c libavcodec/cyuv.c libavcodec/dpx.c libavcodec/dpxenc.c libavcodec/eatgv.c libavcodec/escape124.c libavcodec/ffv1.c libavcodec/flashsv.c libavcodec/fraps.c libavcodec/h264.c libavcodec/huffyuv.c libavcodec/iff.c libavcodec/imgconvert.c libavcodec/indeo3.c libavcodec/kmvc.c libavcodec/libopenjpegdec.c libavcodec/libopenjpegenc.c libavcodec/libx264.c libavcodec/ljpegenc.c libavcodec/mjpegdec.c libavcodec/mjpegenc.c libavcodec/motionpixels.c libavcodec/mpeg12.c libavcodec/mpeg12enc.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo_enc.c libavcodec/pamenc.c libavcodec/pcxenc.c libavcodec/pgssubdec.c libavcodec/pngdec.c libavcodec/pngenc.c libavcodec/pnm.c libavcodec/pnmdec.c libavcodec/pnmenc.c libavcodec/ptx.c libavcodec/qdrw.c libavcodec/qpeg.c libavcodec/qtrleenc.c libavcodec/raw.c libavcodec/rawdec.c libavcodec/rl2.c libavcodec/sgidec.c libavcodec/sgienc.c libavcodec/snowdec.c libavcodec/snowenc.c libavcodec/sunrast.c libavcodec/targa.c libavcodec/targaenc.c libavcodec/tiff.c libavcodec/tiffenc.c libavcodec/tmv.c libavcodec/truemotion2.c libavcodec/utils.c libavcodec/vb.c libavcodec/vp3.c libavcodec/wnv1.c libavcodec/xl.c libavcodec/xwddec.c libavcodec/xwdenc.c libavcodec/yop.c libavdevice/v4l2.c libavdevice/x11grab.c libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/buffersrc.c libavfilter/drawutils.c libavfilter/formats.c libavfilter/src_movie.c libavfilter/vf_ass.c libavfilter/vf_drawtext.c libavfilter/vf_fade.c libavfilter/vf_format.c libavfilter/vf_hflip.c libavfilter/vf_lut.c libavfilter/vf_overlay.c libavfilter/vf_pad.c libavfilter/vf_scale.c libavfilter/vf_transpose.c libavfilter/vf_yadif.c libavfilter/video.c libavfilter/vsrc_testsrc.c libavformat/movenc.c libavformat/mxf.h libavformat/utils.c libavformat/yuv4mpeg.c libavutil/imgutils.c libavutil/pixdesc.c libswscale/input.c libswscale/output.c libswscale/swscale_internal.h libswscale/swscale_unscaled.c libswscale/utils.c libswscale/x86/swscale_template.c libswscale/x86/yuv2rgb.c libswscale/x86/yuv2rgb_template.c libswscale/yuv2rgb.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/sdl: decrease debug info notice log level from AV_LOG_INFO to VERBOSEStefano Sabatini2012-09-07
| | | | Decrease log spam.
* lavd/sdl: remove trailing dot in messagesStefano Sabatini2012-09-07
| | | | This is consistent with the apparently prevailing convention.
* Merge commit '36ef5369ee9b336febc2c270f8718cec4476cb85'Michael Niedermayer2012-08-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '36ef5369ee9b336febc2c270f8718cec4476cb85': Replace all CODEC_ID_* with AV_CODEC_ID_* lavc: add AV prefix to codec ids. Conflicts: doc/APIchanges doc/examples/decoding_encoding.c doc/examples/muxing.c ffmpeg.c ffprobe.c ffserver.c libavcodec/8svx.c libavcodec/avcodec.h libavcodec/dnxhd_parser.c libavcodec/dvdsubdec.c libavcodec/error_resilience.c libavcodec/h263dec.c libavcodec/libvorbisenc.c libavcodec/mjpeg_parser.c libavcodec/mjpegenc.c libavcodec/mpeg12.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/pcm.c libavcodec/r210dec.c libavcodec/utils.c libavcodec/v210dec.c libavcodec/version.h libavdevice/alsa-audio-dec.c libavdevice/bktr.c libavdevice/v4l2.c libavformat/asfdec.c libavformat/asfenc.c libavformat/avformat.h libavformat/avidec.c libavformat/caf.c libavformat/electronicarts.c libavformat/flacdec.c libavformat/flvdec.c libavformat/flvenc.c libavformat/framecrcenc.c libavformat/img2.c libavformat/img2dec.c libavformat/img2enc.c libavformat/ipmovie.c libavformat/isom.c libavformat/matroska.c libavformat/matroskadec.c libavformat/matroskaenc.c libavformat/mov.c libavformat/movenc.c libavformat/mp3dec.c libavformat/mpeg.c libavformat/mpegts.c libavformat/mxf.c libavformat/mxfdec.c libavformat/mxfenc.c libavformat/nsvdec.c libavformat/nut.c libavformat/oggenc.c libavformat/pmpdec.c libavformat/rawdec.c libavformat/rawenc.c libavformat/riff.c libavformat/sdp.c libavformat/utils.c libavformat/vocenc.c libavformat/wtv.c libavformat/xmv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/sdl: use verb in options help messageStefano Sabatini2012-07-19
| | | | An help message tells what an option does, not what its argument is.
* sdl: fix aspect ratio computations.Nicolas George2012-06-10
| | | | | | | The rounding was wrong due to incorrect ue of floats, changed to rationals and av_rescale. The results were not properly passed to SDL.
* sdl: fix overlay size.Nicolas George2012-06-10
| | | | | | The size passed to SDL_CreateYUVOverlay is the size of the video in pixels, it must not take the aspect ratio into account.
* sdl: add AVFMT_VARIABLE_FPS and AVFMT_NOTIMESTAMPS.Nicolas George2012-06-10
| | | | It allows vsync to be automatically set to passthrough.
* sdl: use AV_OPT_TYPE_IMAGE_SIZE.Nicolas George2012-05-20
|
* Make sdl_overlay_pix_fmt_map static const.Reimar Döffinger2011-11-05
| | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* AVOptions: rename remaining FF_OPT_TYPE_* to AV_OPT_TYPE_*.Clément Bœsch2011-10-17
|
* sdl: align option fields after last commitStefano Sabatini2011-06-05
|
* sdl: use the filename for defining the window title, if not specifiedStefano Sabatini2011-06-05
| | | | This allows a more efficient use of the commandline.
* lavdev: add SDL output deviceStefano Sabatini2011-05-28