Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
99d4ae0c
Commit
99d4ae0c
authored
Oct 05, 2011
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder_api: don't copy tag to pipe during initial seek
Fixes one more assertion failure.
parent
f185b350
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
decoder_api.c
src/decoder_api.c
+8
-3
No files found.
src/decoder_api.c
View file @
99d4ae0c
...
...
@@ -438,6 +438,14 @@ decoder_tag(G_GNUC_UNUSED struct decoder *decoder, struct input_stream *is,
update_stream_tag
(
decoder
,
is
);
/* check if we're seeking */
if
(
decoder
->
initial_seek_pending
)
/* during initial seek, no music chunk must be created
until seeking is finished; skip the rest of the
function here */
return
DECODE_COMMAND_SEEK
;
/* send tag to music pipe */
if
(
decoder
->
stream_tag
!=
NULL
)
{
...
...
@@ -451,9 +459,6 @@ decoder_tag(G_GNUC_UNUSED struct decoder *decoder, struct input_stream *is,
/* send only the decoder tag */
cmd
=
do_send_tag
(
decoder
,
is
,
tag
);
if
(
cmd
==
DECODE_COMMAND_NONE
)
cmd
=
decoder_get_virtual_command
(
decoder
);
return
cmd
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment