encoder/vorbis: generate end-of-stream packet when playback ends
Add the encoder_plugin method end(). This is important for the recorder plugin.
This commit is contained in:
@@ -99,7 +99,7 @@ main(G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv)
|
||||
|
||||
/* finish */
|
||||
|
||||
success = encoder_flush(encoder, NULL);
|
||||
success = encoder_end(encoder, NULL);
|
||||
assert(success);
|
||||
|
||||
encoder_to_stdout(encoder);
|
||||
|
Reference in New Issue
Block a user