aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder_api.c')
-rw-r--r--src/decoder_api.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c
index 1db6797a8..c8a13709c 100644
--- a/src/decoder_api.c
+++ b/src/decoder_api.c
@@ -187,6 +187,10 @@ decoder_data(struct decoder *decoder,
assert(dc.state == DECODE_STATE_DECODE);
+ if (dc.command == DECODE_COMMAND_STOP ||
+ dc.command == DECODE_COMMAND_SEEK)
+ return dc.command;
+
if (is != NULL && !decoder->stream_tag_sent) {
const struct tag *src;
struct tag *tag1, *tag2;