[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#996656: celluloid: can't parse backslash in MPV options



Package: celluloid
Version: 0.20-2

Dear maintainer,

Celluloid crashes or hangs if encounters backslash \ in a config. In
both cases below, the app cannot recover even after restarting.

Steps to reproduce the first case:

   1. Go to Preferences > Miscellaneous.
   2. In the Extra MPV options field put backslash "\" (with no quotes).
   3. Click Save.

Actual behaviour:

   1. The program hangs constantly printing to stderr the next line.

   ** (io.github.celluloid_player.Celluloid:32557): WARNING **: 18:47:15.492: Failed to apply option: --=(null)

Expected behaviour:

   1. The program complains about an invalid option.


Steps to reproduce the second case:

   1. Go to Preferences > Miscellaneous.
   2. In the Extra MPV options field type the following                
      --ytdl-raw-options=sub-langs=ru\,eo
   3. Click Save.

Actual behaviour:

   1. The program quits printing to stderr an assert message.

ERROR:celluloid-option-parser.c:83:eval_match: code should not be reached
Bail out! ERROR:celluloid-option-parser.c:83:eval_match: code should not be reached
Aborted

Expected behaviour:

   1. The youtube-dl script receives --sub-langs=ru,eo
   2. Or at least, Celluloid reports an error with dialog box.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: