diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-12-25 23:33:46 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-12-25 23:33:46 +0100 |
commit | 3a23129ac5110d72040692b229554babc2aa2a99 (patch) | |
tree | 81a74d9d92ec6f474f038f0089d69ffb6b2ecbc6 /transcode.c | |
parent | 03d091e6150a17a71f1f8e6440ed5ea9aaa1311d (diff) |
Added encoder_flush() to flush encoder buffers.old
Diffstat (limited to 'transcode.c')
-rw-r--r-- | transcode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/transcode.c b/transcode.c index 20f91b5..636f8d7 100644 --- a/transcode.c +++ b/transcode.c @@ -76,6 +76,9 @@ void transcode(GInputStream *input, const struct decoder_plugin *_decoder, * if the decoder isn't done yet */ encode_done = decode_done; + if(encode_done == TRUE) { + encoder_flush(encoder, output, &error); + } } else { g_warning(error->message); break; |