mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 23:36:38 +00:00
celtdec: make this compile with git libcelt
celt_mode_info was removed, in favor of a _ctl. https://bugzilla.gnome.org/show_bug.cgi?id=656686
This commit is contained in:
parent
5a0a0aac19
commit
ffa9c81798
1 changed files with 5 additions and 0 deletions
|
@ -734,7 +734,12 @@ celt_dec_chain_parse_data (GstCeltDec * dec, GstBuffer * buf,
|
|||
}
|
||||
|
||||
if (dec->discont) {
|
||||
#ifdef CELT_GET_LOOKAHEAD_REQUEST
|
||||
/* what will be 0.11.5, I guess, but no versioning yet in git */
|
||||
celt_decoder_ctl (dec->state, CELT_GET_LOOKAHEAD_REQUEST, &skip);
|
||||
#else
|
||||
celt_mode_info (dec->mode, CELT_GET_LOOKAHEAD, &skip);
|
||||
#endif
|
||||
}
|
||||
|
||||
res = gst_pad_alloc_buffer_and_set_caps (dec->srcpad,
|
||||
|
|
Loading…
Reference in a new issue