History log of /haiku/src/add-ons/media/media-add-ons/videowindow/VideoNode.cpp
Revision Date Author Comments
# 425ac1b6 20-Jun-2023 Alexander von Gluck IV <kallisti5@unixzen.com>

refactor: Swap %Ld for %lld in all format usages

* %Ld is an undocumented alias for %lld in glibc.
* muslc doesn't implement it for this reason.
* While we will likely never drop %Ld support,
lets clean house and set a better example.

Change-Id: Id46dad3104abae483e80cc5c05d1464d3ecd8030
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6636
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# b24faa52 28-Aug-2021 Gerasim Troeglazov <3dEyes@gmail.com>

VideoWindow consumer: buffer initialization shoud be done after format acceped.

Video generated by DemoVideoProducer is now displayed correctly

Change-Id: Idaed170a355ae7ed0b50c143a5c6c33da1393551
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4401
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 16732ae7 04-Apr-2016 Dario Casalinuovo <b.vitruvio@gmail.com>

VideoWindow consumer: Fix connection

* The integer overflowed for some reason.
* Fixes #9439.


# da4fcd47 21-May-2010 David McPaul <dlmcpaul@gmail.com>

Try to use overlay first

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36892 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3c4e5707 05-Oct-2008 Karsten Heimrich <host.haiku@gmx.de>

* argh, shouldn't have been commented out



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27875 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 86ab6e77 05-Oct-2008 Karsten Heimrich <host.haiku@gmx.de>

* lock the window before calling Quit()



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27874 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d2418e6b 05-Oct-2008 Karsten Heimrich <host.haiku@gmx.de>

* cleanup, no functional change



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27873 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 72ac59d1 06-Mar-2008 Maurice Kalinowski <mauricek@nowhere.fake>

- Compile fix/Added missing files
- Implemented missing functionality
- Added debug.h from other media addons for nicer debug.
- Instead of using the MediaNode inside the View, the node should control the view and the window in the case it is instantiated from an addon.
- During the connection process the VideoNode tried to allocate overlay buffers. This can fail for multiple reasons like there is already someone using overlay or it is not supported at all due to driver limitations. In that case try to get non overlay buffers. If this fails, the Connect() can still return an error.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24273 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 18c2aaae 01-Mar-2008 Marcus Overhagen <marcusoverhagen@gmail.com>

Changed the license from GPL to MIT on request by Maurice. I'm the sole author of this code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24195 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 46daa667 16-May-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

Made copying into overlay save, by locking the bits.
This could be further optimized, by always hloding the lock,
and only unlocking when app-server requests it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17481 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 80634794 05-Apr-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

Imported source code from DVB TV application.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17020 a95241bf-73f2-0310-859d-f6bbb57e9c96


# da4fcd47f51988e38d8f76ee611136bbc8503c3a 21-May-2010 David McPaul <dlmcpaul@gmail.com>

Try to use overlay first

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36892 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3c4e57077a4c5e8ba9e156811aa4256f3c686f4f 05-Oct-2008 Karsten Heimrich <host.haiku@gmx.de>

* argh, shouldn't have been commented out



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27875 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 86ab6e77fcb5985b01507a84d8194f8282783ca1 05-Oct-2008 Karsten Heimrich <host.haiku@gmx.de>

* lock the window before calling Quit()



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27874 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d2418e6b94c598c55c8298585491da7ef6ac3e4a 05-Oct-2008 Karsten Heimrich <host.haiku@gmx.de>

* cleanup, no functional change



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27873 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 72ac59d172768aff9504550e1e17521ff9016288 06-Mar-2008 Maurice Kalinowski <mauricek@nowhere.fake>

- Compile fix/Added missing files
- Implemented missing functionality
- Added debug.h from other media addons for nicer debug.
- Instead of using the MediaNode inside the View, the node should control the view and the window in the case it is instantiated from an addon.
- During the connection process the VideoNode tried to allocate overlay buffers. This can fail for multiple reasons like there is already someone using overlay or it is not supported at all due to driver limitations. In that case try to get non overlay buffers. If this fails, the Connect() can still return an error.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24273 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 18c2aaaea27d0643b9a470d930355b0410cfbb30 01-Mar-2008 Marcus Overhagen <marcusoverhagen@gmail.com>

Changed the license from GPL to MIT on request by Maurice. I'm the sole author of this code.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24195 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 46daa6672edb1e1566d9fc1cae6bb772ed8c00b0 16-May-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

Made copying into overlay save, by locking the bits.
This could be further optimized, by always hloding the lock,
and only unlocking when app-server requests it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17481 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 80634794459e6cb431af85d7bc9a95f1c128fd1d 05-Apr-2006 Marcus Overhagen <marcusoverhagen@gmail.com>

Imported source code from DVB TV application.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17020 a95241bf-73f2-0310-859d-f6bbb57e9c96