mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
va: decoder: Log profile name.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1675>
This commit is contained in:
parent
df6c985474
commit
b3c71584e0
1 changed files with 3 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
||||||
#include "gstvaallocator.h"
|
#include "gstvaallocator.h"
|
||||||
#include "gstvacaps.h"
|
#include "gstvacaps.h"
|
||||||
#include "gstvadisplay_priv.h"
|
#include "gstvadisplay_priv.h"
|
||||||
|
#include "gstvaprofile.h"
|
||||||
#include "gstvavideoformat.h"
|
#include "gstvavideoformat.h"
|
||||||
|
|
||||||
struct _GstVaDecoder
|
struct _GstVaDecoder
|
||||||
|
@ -231,7 +232,8 @@ gst_va_decoder_open (GstVaDecoder * self, VAProfile profile, guint rt_format)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
if (!gst_va_decoder_has_profile (self, profile)) {
|
if (!gst_va_decoder_has_profile (self, profile)) {
|
||||||
GST_ERROR_OBJECT (self, "Unsupported profile: %d", profile);
|
GST_ERROR_OBJECT (self, "Unsupported profile: %s",
|
||||||
|
gst_va_profile_name (profile));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue