schroenc: Only enable framestats code with schro >= 1.0.9
This commit is contained in:
parent
31f4ac7b30
commit
039f7e3dbb
@ -764,7 +764,7 @@ gst_schro_enc_process (GstSchroEnc * schro_enc)
|
|||||||
/* FIXME This shouldn't happen */
|
/* FIXME This shouldn't happen */
|
||||||
return GST_FLOW_ERROR;
|
return GST_FLOW_ERROR;
|
||||||
}
|
}
|
||||||
|
#if SCHRO_CHECK_VERSION (1, 0, 9)
|
||||||
{
|
{
|
||||||
GstMessage *message;
|
GstMessage *message;
|
||||||
GstStructure *structure;
|
GstStructure *structure;
|
||||||
@ -778,7 +778,7 @@ gst_schro_enc_process (GstSchroEnc * schro_enc)
|
|||||||
message = gst_message_new_element (GST_OBJECT (schro_enc), structure);
|
message = gst_message_new_element (GST_OBJECT (schro_enc), structure);
|
||||||
gst_element_post_message (GST_ELEMENT (schro_enc), message);
|
gst_element_post_message (GST_ELEMENT (schro_enc), message);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (voidptr == NULL) {
|
if (voidptr == NULL) {
|
||||||
GST_DEBUG ("got eos");
|
GST_DEBUG ("got eos");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user