mpc_info.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. * This file is part of MPlayer.
  3. *
  4. * MPlayer is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * MPlayer is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License along
  15. * with MPlayer; if not, write to the Free Software Foundation, Inc.,
  16. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  17. */
  18. #ifndef MPLAYER_MPC_INFO_H
  19. #define MPLAYER_MPC_INFO_H
  20. typedef struct mp_codec_info_s
  21. {
  22. /* codec long name ("Autodesk FLI/FLC Animation decoder" */
  23. const char *name;
  24. /* short name (same as driver name in codecs.conf) ("dshow") */
  25. const char *short_name;
  26. /* interface author/maintainer */
  27. const char *maintainer;
  28. /* codec author ("Aaron Holtzman <aholtzma@ess.engr.uvic.ca>") */
  29. const char *author;
  30. /* any additional comments */
  31. const char *comment;
  32. } mp_codec_info_t;
  33. #define CONTROL_OK 1
  34. #define CONTROL_TRUE 1
  35. #define CONTROL_FALSE 0
  36. #define CONTROL_UNKNOWN -1
  37. #define CONTROL_ERROR -2
  38. #define CONTROL_NA -3
  39. #endif /* MPLAYER_MPC_INFO_H */