[vlc-devel] [PATCH 00/13] A 2nd subtitle feature

Aaron Wang hughwung at gmail.com
Wed Sep 16 15:49:38 CEST 2015

A hotkey is used to allow cycle a 2nd subtitle,
which is display at the top, while the 1st one 
at the bottom.
The decoder has to be modified to enable 
align top, otherwise they are all displayed at the 
bottom. I only modified the ones I've encountered.
The sync is the same for both subtitles.
But in future I think they should be separated.

This is my first ever contrib to open source,
so any opinions would be great.

My email address may be different from the one I was using 
originally. Because my school email can't be properly 
configured with git, so I have to use gmail sometimes.

Aaron Wang (13):
  add field to subs_format_t, which decoder must recognize
  try to add a hotkey
  actionid for hotkey
  fix logic of the hotkey
  hotkey in the interface
  add callback for new vlc value
  further callback of the new hotkey. comments added.
  add additional field in function call,     to accommodate the 2nd
  add input control command
  change interface of SendEventEsSelect
  change es_out.c, so the 2nd subtitle select is processed
  change subsdec to make it recognize field i_ord we set,     so it
    processes the 2nd sub differently
  modifying another decoder

 include/vlc_es.h           |   1 +
 include/vlc_keys.h         |   2 +
 lib/media_player.c         |   2 +
 modules/codec/subsdec.c    |   5 +-
 modules/codec/substx3g.c   |   6 +-
 modules/control/hotkeys.c  | 201 +++++++------
 src/config/keys.c          |   4 +-
 src/input/es_out.c         | 717 +++++++++++++++++++++++++++++----------------
 src/input/event.c          |  11 +-
 src/input/event.h          |   2 +-
 src/input/input.c          |  22 +-
 src/input/input_internal.h |   2 +
 src/input/var.c            |  33 ++-
 src/libvlc-module.c        |  15 +-
 14 files changed, 666 insertions(+), 357 deletions(-)


More information about the vlc-devel mailing list