Hi,
can someone with a full featured card test the short recording mentioned here: http://lists.berlios.de/pipermail/softdevice-devel/2008q1/003004.html
When playing this with softdevice, consecutive subtitle areas are not erased.
Between these trace messages there is no deletion of previous OSD area. So if the following area is of smaller size, parts of previous area remain on screen (in softdevice). END_OF_DISPLAY_SET_SEGMENT
PAGE_COMPOSITION_SEGMENT
The dvbsubtitle trace looks like:
FramesPerSec: 25 Create SubtitlePage 1 (total pages = 1) PAGE_COMPOSITION_SEGMENT page refresh Update page id 1 version 15 pts 3614043382 timeout 2 state 1 PAGE_COMPOSITION_SEGMENT new Page Update page id 1 version 0 pts 3614216502 timeout 6 state 2 REGION_COMPOSITION_SEGMENT Region pageId 1 id 0 version 11 fill 1 width 510 height 44 level 4 depth 4 clutId 1 FillRegion 0 REGION_COMPOSITION_SEGMENT Region pageId 1 id 1 version 12 fill 1 width 224 height 44 level 4 depth 4 clutId 1 FillRegion 0 CLUT_DEFINITION_SEGMENT OBJECT_DATA_SEGMENT OBJECT_DATA_SEGMENT END_OF_DISPLAY_SET_SEGMENT
PAGE_COMPOSITION_SEGMENT page refresh Update page id 1 version 1 pts 3614518658 timeout 2 state 1 PAGE_COMPOSITION_SEGMENT new Page Update page id 1 version 2 pts 3614576328 timeout 6 state 2 REGION_COMPOSITION_SEGMENT Region pageId 1 id 0 version 13 fill 1 width 330 height 44 level 4 depth 4 clutId 1 FillRegion 0 REGION_COMPOSITION_SEGMENT Region pageId 1 id 1 version 14 fill 1 width 264 height 42 level 4 depth 4 clutId 1 FillRegion 0 CLUT_DEFINITION_SEGMENT OBJECT_DATA_SEGMENT OBJECT_DATA_SEGMENT END_OF_DISPLAY_SET_SEGMENT
PAGE_COMPOSITION_SEGMENT page refresh Update page id 1 version 3 pts 3614885762 timeout 2 state 1 PAGE_COMPOSITION_SEGMENT new Page Update page id 1 version 4 pts 3614926520 timeout 6 state 2 REGION_COMPOSITION_SEGMENT Region pageId 1 id 0 version 15 fill 1 width 362 height 44 level 4 depth 4 clutId 1 FillRegion 0 REGION_COMPOSITION_SEGMENT Region pageId 1 id 1 version 0 fill 1 width 322 height 44 level 4 depth 4 clutId 1 FillRegion 0 CLUT_DEFINITION_SEGMENT OBJECT_DATA_SEGMENT OBJECT_DATA_SEGMENT END_OF_DISPLAY_SET_SEGMENT
PAGE_COMPOSITION_SEGMENT
On 01/19/08 11:58, Stefan Lucke wrote:
Hi,
can someone with a full featured card test the short recording mentioned here: http://lists.berlios.de/pipermail/softdevice-devel/2008q1/003004.html
Did it, and I can't see anything wrong with the display. There are three sets of subtitles, and each is displayed correctly.
Klaus
When playing this with softdevice, consecutive subtitle areas are not erased.
Between these trace messages there is no deletion of previous OSD area. So if the following area is of smaller size, parts of previous area remain on screen (in softdevice). END_OF_DISPLAY_SET_SEGMENT
PAGE_COMPOSITION_SEGMENT
The dvbsubtitle trace looks like: ...
Quoting Klaus Schmidinger:
On 01/19/08 11:58, Stefan Lucke wrote:
Hi,
can someone with a full featured card test the short recording mentioned here: http://lists.berlios.de/pipermail/softdevice-devel/2008q1/003004.html
Did it, and I can't see anything wrong with the display. There are three sets of subtitles, and each is displayed correctly.
Thanks Klaus, but thats not the expected answer. So I've to go to search for the missing Clear() in softdevice.
Klaus
When playing this with softdevice, consecutive subtitle areas are not erased.
Between these trace messages there is no deletion of previous OSD area. So if the following area is of smaller size, parts of previous area remain on screen (in softdevice). END_OF_DISPLAY_SET_SEGMENT
PAGE_COMPOSITION_SEGMENT
The dvbsubtitle trace looks like: ...
Stefan Lucke
On 01/19/08 14:28, Stefan Lucke wrote:
Quoting Klaus Schmidinger:
On 01/19/08 11:58, Stefan Lucke wrote:
Hi,
can someone with a full featured card test the short recording mentioned here: http://lists.berlios.de/pipermail/softdevice-devel/2008q1/003004.html
Did it, and I can't see anything wrong with the display. There are three sets of subtitles, and each is displayed correctly.
Thanks Klaus, but thats not the expected answer.
I assume you meant that this was not the answer you were hoping for ;-)
Klaus
So I've to go to search for the missing Clear() in softdevice.
Klaus
When playing this with softdevice, consecutive subtitle areas are not erased.
Between these trace messages there is no deletion of previous OSD area. So if the following area is of smaller size, parts of previous area remain on screen (in softdevice). END_OF_DISPLAY_SET_SEGMENT
PAGE_COMPOSITION_SEGMENT
The dvbsubtitle trace looks like: ...
Stefan Lucke
Quoting Klaus Schmidinger:
On 01/19/08 14:28, Stefan Lucke wrote:
Quoting Klaus Schmidinger:
On 01/19/08 11:58, Stefan Lucke wrote:
Hi,
can someone with a full featured card test the short recording mentioned here: http://lists.berlios.de/pipermail/softdevice-devel/2008q1/003004.html
Did it, and I can't see anything wrong with the display. There are three sets of subtitles, and each is displayed correctly.
Thanks Klaus, but thats not the expected answer.
I assume you meant that this was not the answer you were hoping for ;-)
Excat :-(
Stefan Lucke
En/na Stefan Lucke ha escrit:
Excat :-(
Stefan Lucke
In case it could help you: the dxr3-plugin had a similar issue, the solution was to clear the osd each time SetAreas is called.
http://dxr3plugin.cvs.sourceforge.net/dxr3plugin/dxr3/dxr3osd_subpicture.c?r...
Bye
On 01/19/08 18:47, Luca Olivetti wrote:
En/na Stefan Lucke ha escrit:
Excat :-(
Stefan Lucke
In case it could help you: the dxr3-plugin had a similar issue, the solution was to clear the osd each time SetAreas is called.
http://dxr3plugin.cvs.sourceforge.net/dxr3plugin/dxr3/dxr3osd_subpicture.c?r...
cDvbOsd also clears the OSD whenever SetAreas() is called:
eOsdError cDvbOsd::SetAreas(const tArea *Areas, int NumAreas) { if (shown) { cBitmap *Bitmap; for (int i = 0; (Bitmap = GetBitmap(i)) != NULL; i++) { Cmd(OSD_SetWindow, 0, i + 1); Cmd(OSD_Close); } shown = false; } return cOsd::SetAreas(Areas, NumAreas); }
Klaus
En/na Klaus Schmidinger ha escrit:
On 01/19/08 18:47, Luca Olivetti wrote:
En/na Stefan Lucke ha escrit:
Excat :-(
Stefan Lucke
In case it could help you: the dxr3-plugin had a similar issue, the solution was to clear the osd each time SetAreas is called.
http://dxr3plugin.cvs.sourceforge.net/dxr3plugin/dxr3/dxr3osd_subpicture.c?r...
cDvbOsd also clears the OSD whenever SetAreas() is called:
Well, yes, that's how I found the error in the dxr3-plugin, by looking at cDvbOsd code ;-) I just wanted to save Stefan some time (if indeed softdevice has the same problem, if it's a different one he'll have to find it by himself).
Bye
Quoting Klaus Schmidinger:
On 01/19/08 18:47, Luca Olivetti wrote:
En/na Stefan Lucke ha escrit:
Excat :-(
Stefan Lucke
In case it could help you: the dxr3-plugin had a similar issue, the solution was to clear the osd each time SetAreas is called.
http://dxr3plugin.cvs.sourceforge.net/dxr3plugin/dxr3/dxr3osd_subpicture.c?r...
cDvbOsd also clears the OSD whenever SetAreas() is called:
eOsdError cDvbOsd::SetAreas(const tArea *Areas, int NumAreas) { if (shown) { cBitmap *Bitmap; for (int i = 0; (Bitmap = GetBitmap(i)) != NULL; i++) { Cmd(OSD_SetWindow, 0, i + 1); Cmd(OSD_Close); } shown = false; } return cOsd::SetAreas(Areas, NumAreas); }
Thats exact the missing method in SoftOsd.c which will do the clear. Should have had a look at the list a few minutes earlier.
Thanks.
Stefan Lucke