Opened 13 years ago

Closed 13 years ago

#1862 closed enhancement (fixed)

sub_scale does not redraw subtitles

Reported by: michko@… Owned by: reimar
Priority: normal Component: core
Version: HEAD Severity: minor
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

When using slave mode, and watching a movie with subtitles (I used *.srt file), sending sub_pos changes the subtitles position immediately, which is OK. But at the same time sub_scale does not change subtitles scale - or it does change, but the current subtitle is not redrawn. Only the next subtitle is drawn with the correct size.

Would it be possible to fix sub_scale so that the currently displayed subtitle would be redrawn immediately?

I am attaching sample *.vala file to test this (you need a movie with subtitles, I used *.srt format).

Attachments (1)

slider-mplayer.vala (2.6 KB ) - added by michko@… 13 years ago.
Sample GUI for mplayer: sliders for changing subtitle position and scale

Download all attachments as: .zip

Change History (3)

by michko@…, 13 years ago

Attachment: slider-mplayer.vala added

Sample GUI for mplayer: sliders for changing subtitle position and scale

comment:1 by michko@…, 13 years ago

Component: vecore

comment:2 by reimar, 13 years ago

Resolution: fixed
Status: newclosed

That was an oversight, the subtitles were not marked as needing to be redrawn.
Fixed in SVN r32825.

Note: See TracTickets for help on using tickets.