History log of /haiku/src/add-ons/media/media-add-ons/dvb/DVBMediaNode.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>


# 6d2f2ec1 24-Jul-2015 Dario Casalinuovo <b.vitruvio@gmail.com>

Rework nodes to call Run() only after registration

* While it should not be a big problem the
bebook specify to do it after custom operations,
most nodes also follow this way, this commit restore
consistency.


# 38738909 24-Aug-2014 Colin Günther <coling@gmx.de>

dvb.media_addon: Fix some coding style.

- Fix max line length, switch statement style and some pointer comparisons in
if statements. No functional change intended.
Note: There may be more coding style violations lurking.


# 75a6d51e 24-Aug-2014 Colin Günther <coling@gmx.de>

dvb.media_addon: Support dumping of the raw mpeg ts data.

- Main purpose is to debug a/v synchronization issues by playing the dumped
mpeg ts data in alternative video players (like ffplay or MediaPlayer) and
see how those behave.

- The commit diffs shows some coding style violations (max. line length) that
show up throughout the whole DVBMediaNode class. Those will be fixed in the
next commit to keep a clean separation between the different code changes.


# 069bc5b5 07-Aug-2014 Colin Günther <coling@gmx.de>

dvb.media_addon: Stop changing format on every video frame.

- Due to comparing the wrong fields with one another the dvb.media_addon called
ChangeFormat() on every new video frame.
- Also remove a duplicate print statement.


# b9314624 02-Aug-2014 Colin Günther <coling@gmx.de>

dvb.media_addon: Code cleanup and some coding style.

- Remove use of now superflous media_header_ex structure.

- Respect 80 char line limit and indentation rules. Coding style only applied
to functions raw_[audio|video]_thread, rest of the class may need some more
cleanup.

- No functional change intended.


# bcdc4db3 17-Dec-2010 Marcus Overhagen <marcusoverhagen@gmail.com>

adjust file path to channel setting files


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


# eddec292 21-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

* applied patch by kaliber that fixes more than 100 warnings - thanks a lot!
Closes #6349

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


# b289aaf6 12-Apr-2010 Axel Dörfler <axeld@pinc-software.de>

* A BBuffer does not know where it came from, so
BBufferConsumer::BufferReceived() cannot know whom to send the "buffer is
late" notification (unless we only have a single input). To solve this, the
media_header now contains extra fields that can be used to create a
media_source object.
* Unfortunately, BBufferProducer::SendBuffer() cannot know the output either in
case there is more than one. Hence, I deprecated the existing SendBuffer()
call and moved it into "private" - IOW old sources using it won't compile
anymore under Haiku.
* I introduced a new SendBuffer() variant that also gets the media_source as
argument.
* Updated all sources (that are part of the image) to use the new variant.
* Removed some purposely commented out code in the audio mixer.
* Implemented late buffer notification, as well as late buffer handling in the
audio mixer; this is a bit of work in progress, so the debug output is left
in there.
* Some cleanup.


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


# 293ccd77 06-Jun-2008 Stephan Aßmus <superstippi@gmx.de>

Honor 80 char line width, not complete.


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


# fc925276 25-Apr-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

added some workarounds for haiku, needs to be fixed later...


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


# b0b3cab0 25-Apr-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

improved stream format detection


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


# fcb9bdc0 23-Apr-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

added Jamfile for dvb.media_addon and fixed compilation problems after refactoring


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


# b2859abe 15-Apr-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

Media add-on for DVB.


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


# 6d2f2ec177bf615a117a7428d71be4330545b320 24-Jul-2015 Dario Casalinuovo <b.vitruvio@gmail.com>

Rework nodes to call Run() only after registration

* While it should not be a big problem the
bebook specify to do it after custom operations,
most nodes also follow this way, this commit restore
consistency.


# 38738909a479907652516ce86dffdecf2929e25e 24-Aug-2014 Colin Günther <coling@gmx.de>

dvb.media_addon: Fix some coding style.

- Fix max line length, switch statement style and some pointer comparisons in
if statements. No functional change intended.
Note: There may be more coding style violations lurking.


# 75a6d51e8a1ee4c77495d6dc1e70f141a951aa15 24-Aug-2014 Colin Günther <coling@gmx.de>

dvb.media_addon: Support dumping of the raw mpeg ts data.

- Main purpose is to debug a/v synchronization issues by playing the dumped
mpeg ts data in alternative video players (like ffplay or MediaPlayer) and
see how those behave.

- The commit diffs shows some coding style violations (max. line length) that
show up throughout the whole DVBMediaNode class. Those will be fixed in the
next commit to keep a clean separation between the different code changes.


# 069bc5b59767b426cf56a176a22d8909567923c8 07-Aug-2014 Colin Günther <coling@gmx.de>

dvb.media_addon: Stop changing format on every video frame.

- Due to comparing the wrong fields with one another the dvb.media_addon called
ChangeFormat() on every new video frame.
- Also remove a duplicate print statement.


# b93146243fe3b87b6894df1eeb85e282b7d98b11 02-Aug-2014 Colin Günther <coling@gmx.de>

dvb.media_addon: Code cleanup and some coding style.

- Remove use of now superflous media_header_ex structure.

- Respect 80 char line limit and indentation rules. Coding style only applied
to functions raw_[audio|video]_thread, rest of the class may need some more
cleanup.

- No functional change intended.


# bcdc4db3e5797c88571fcab47e9e4b178b1cf9a8 17-Dec-2010 Marcus Overhagen <marcusoverhagen@gmail.com>

adjust file path to channel setting files


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


# eddec292d5dd8251a00851880e16e6a5c07c1e3f 21-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

* applied patch by kaliber that fixes more than 100 warnings - thanks a lot!
Closes #6349

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


# b289aaf66bbf6e173aa90fa194fc256965f1b34d 12-Apr-2010 Axel Dörfler <axeld@pinc-software.de>

* A BBuffer does not know where it came from, so
BBufferConsumer::BufferReceived() cannot know whom to send the "buffer is
late" notification (unless we only have a single input). To solve this, the
media_header now contains extra fields that can be used to create a
media_source object.
* Unfortunately, BBufferProducer::SendBuffer() cannot know the output either in
case there is more than one. Hence, I deprecated the existing SendBuffer()
call and moved it into "private" - IOW old sources using it won't compile
anymore under Haiku.
* I introduced a new SendBuffer() variant that also gets the media_source as
argument.
* Updated all sources (that are part of the image) to use the new variant.
* Removed some purposely commented out code in the audio mixer.
* Implemented late buffer notification, as well as late buffer handling in the
audio mixer; this is a bit of work in progress, so the debug output is left
in there.
* Some cleanup.


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


# 293ccd77f939d91f54097f093783febc515b1967 06-Jun-2008 Stephan Aßmus <superstippi@gmx.de>

Honor 80 char line width, not complete.


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


# fc92527647265d319f3dcee632798f6de93527c7 25-Apr-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

added some workarounds for haiku, needs to be fixed later...


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


# b0b3cab0fd5422285eea4458b96e63fd28911eb4 25-Apr-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

improved stream format detection


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


# fcb9bdc0c90a4dd4d1011fce41856e532dbd0226 23-Apr-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

added Jamfile for dvb.media_addon and fixed compilation problems after refactoring


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


# b2859abe132e7a0f0d438f43ce63a32b6e4ac526 15-Apr-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

Media add-on for DVB.


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