[FFmpeg-trac] #1744(avdevice:open): SDL out freezes
FFmpeg
trac at avcodec.org
Tue Nov 26 00:04:22 CET 2013
#1744: SDL out freezes
-------------------------------------+------------------------------------
Reporter: rogerdpack | Owner:
Type: defect | Status: open
Priority: normal | Component: avdevice
Version: unspecified | Resolution:
Keywords: sdl bounty | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 1 |
-------------------------------------+------------------------------------
Comment (by saste):
Replying to [comment:15 rogerdpack]:
> @elioxia I'm kind of debating which way to go for this at the
moment...if we have a dedicated thread for an SDL device then it prohibits
us from (for instance) calling SDL_Init in another thread if we want 2
devices present at the same time, doesn't it? I guess we could live with
"at most 1" device (and don't use SDL for anything else in your app!) or
is there another way?
sdl1.2 requires the presence of a single window per application. So there
is no way to create different SDL devices (I guess you could have video
and audio in different devices, but that would be quite pointless, and
complicated...).
> I suppose we could start with 1, and then later add smarts so that it
has one "gui thread" that
> processes output for multiple windows or something like that...i.e. add
support for more than
> one later whenever anybody actually needs it? Thoughts?
Or use sdl2 which should support that (well at least different windows per
application). Anyway this seems unrelated to this ticket.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/1744#comment:16>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list