#
97302390 |
|
07-Aug-2014 |
Colin Günther <coling@gmx.de> |
dvb.media_addon: Remove superflous init check. - This init check prevented the MediaStreamDecoder from setting up an input format. The values the init check is based on are initialized by the first call to BMediaDecoder::SetTo() as described in the BeBook ("If you use the empty form of the constructor, you'll have to call SetTo() to establish the format to be decoded before calling Decode()"). But MediaStreamDecoder doesn't provide a public way to call BMediaDecoder::SetTo() first. There are at least two possible solutions to remedy this situation: 1. Remove the init check 2. Add a public way to call SetTo() The first solution was chosen for the following reason: Least amount of code change needed as it is an implementation detail so no client code has to be touched. The second solution might make sence when you want to stick to the BeBook where a clear distinction between SetTo() and SetInputFormat() is made, but as the current MediaStreamDecoder implementation doesn't stick to the BeBook anyway there is less need to add another method at this time.
|
#
81fb1298 |
|
02-Jun-2007 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
put InitCheck back git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21294 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
|
#
175eb4f0 |
|
23-Apr-2007 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
A BMediaDecoder wrapper that uses a callback for GetNextChunk() git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20779 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
97302390a09488e9e52150f40196f06436fd4d19 |
|
07-Aug-2014 |
Colin Günther <coling@gmx.de> |
dvb.media_addon: Remove superflous init check. - This init check prevented the MediaStreamDecoder from setting up an input format. The values the init check is based on are initialized by the first call to BMediaDecoder::SetTo() as described in the BeBook ("If you use the empty form of the constructor, you'll have to call SetTo() to establish the format to be decoded before calling Decode()"). But MediaStreamDecoder doesn't provide a public way to call BMediaDecoder::SetTo() first. There are at least two possible solutions to remedy this situation: 1. Remove the init check 2. Add a public way to call SetTo() The first solution was chosen for the following reason: Least amount of code change needed as it is an implementation detail so no client code has to be touched. The second solution might make sence when you want to stick to the BeBook where a clear distinction between SetTo() and SetInputFormat() is made, but as the current MediaStreamDecoder implementation doesn't stick to the BeBook anyway there is less need to add another method at this time.
|
#
81fb1298806ad844fbc8860db17454132b6ff212 |
|
02-Jun-2007 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
put InitCheck back git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21294 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
|
#
175eb4f0de11337b114d628a34a3cd394141f54a |
|
23-Apr-2007 |
Marcus Overhagen <marcusoverhagen@gmail.com> |
A BMediaDecoder wrapper that uses a callback for GetNextChunk() git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20779 a95241bf-73f2-0310-859d-f6bbb57e9c96
|