mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
schroenc: Only enable framestats code with schro >= 1.0.9
This commit is contained in:
parent
31f4ac7b30
commit
039f7e3dbb
1 changed files with 2 additions and 2 deletions
|
@ -764,7 +764,7 @@ gst_schro_enc_process (GstSchroEnc * schro_enc)
|
|||
/* FIXME This shouldn't happen */
|
||||
return GST_FLOW_ERROR;
|
||||
}
|
||||
|
||||
#if SCHRO_CHECK_VERSION (1, 0, 9)
|
||||
{
|
||||
GstMessage *message;
|
||||
GstStructure *structure;
|
||||
|
@ -778,7 +778,7 @@ gst_schro_enc_process (GstSchroEnc * schro_enc)
|
|||
message = gst_message_new_element (GST_OBJECT (schro_enc), structure);
|
||||
gst_element_post_message (GST_ELEMENT (schro_enc), message);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
if (voidptr == NULL) {
|
||||
GST_DEBUG ("got eos");
|
||||
|
|
Loading…
Reference in a new issue