mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
schroenc: Revert previous commit
It appears the patch, which I've been carrying around forever, had been already applied.
This commit is contained in:
parent
3ada35cc0e
commit
bcd4baec47
1 changed files with 0 additions and 15 deletions
|
@ -790,21 +790,6 @@ gst_schro_enc_process (GstSchroEnc * schro_enc)
|
|||
}
|
||||
#endif
|
||||
|
||||
{
|
||||
GstMessage *message;
|
||||
GstStructure *structure;
|
||||
GstBuffer *buf;
|
||||
|
||||
buf = gst_buffer_new_and_alloc (sizeof (double) * 21);
|
||||
schro_encoder_get_frame_stats (schro_enc->encoder,
|
||||
(double *) GST_BUFFER_DATA (buf), 21);
|
||||
structure = gst_structure_new ("schroenc",
|
||||
"frame-stats", GST_TYPE_BUFFER, buf, NULL);
|
||||
message = gst_message_new_element (GST_OBJECT (schro_enc), structure);
|
||||
gst_element_post_message (GST_ELEMENT (schro_enc), message);
|
||||
}
|
||||
|
||||
|
||||
if (voidptr == NULL) {
|
||||
GST_DEBUG ("got eos");
|
||||
//frame = schro_enc->eos_frame;
|
||||
|
|
Loading…
Reference in a new issue